diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4b8d752b..41c353fa 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -35,7 +35,7 @@ jobs: contents: read id-token: write # Needed to attest and to publish to PyPI steps: - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: pattern: cibw-* path: dist diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bff53829..572aaf7f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,7 +54,7 @@ repos: ## Check pyproject.toml file - repo: https://github.com/henryiii/validate-pyproject-schema-store - rev: 2026.10.02 + rev: 2026.10.10 hooks: - id: validate-pyproject priority: 0 @@ -112,7 +112,7 @@ repos: ## Format configuration files with prettier - repo: https://github.com/rbubley/mirrors-prettier - rev: v3.9.9 + rev: v3.9.10 hooks: - id: prettier types_or: [yaml, html, css, scss, javascript, json, json5] @@ -120,7 +120,7 @@ repos: ## Format Markdown files with rumdl - repo: https://github.com/rvben/rumdl-pre-commit - rev: v0.2.78 + rev: v0.2.79 hooks: - id: rumdl args: [--fix] @@ -130,7 +130,7 @@ repos: ## Format pyproject.toml with pyproject-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.30.0 + rev: v2.30.3 hooks: - id: pyproject-fmt priority: 5 @@ -160,7 +160,7 @@ repos: ## Check Python types with ty - repo: https://github.com/astral-sh/ty-pre-commit - rev: v0.0.84 + rev: v0.0.86 hooks: - id: ty args: [--isolated] diff --git a/src/mqt/problemsolver/qubo_tools/pathfinder/cost_functions.py b/src/mqt/problemsolver/qubo_tools/pathfinder/cost_functions.py index cd6916f8..358c80da 100644 --- a/src/mqt/problemsolver/qubo_tools/pathfinder/cost_functions.py +++ b/src/mqt/problemsolver/qubo_tools/pathfinder/cost_functions.py @@ -113,13 +113,10 @@ def doit(self, **_hints: Any) -> sp.Expr: class ExpandingSum(sp.Sum): """Represents a sum that is always expanded into a sum of its elements when calling `doit()`.""" - args: tuple[sp.Expr, tuple[sp.Symbol, sp.Expr, sp.Expr]] - @override def doit(self, **_hints: Any) -> sp.Expr: - expr, *limits = self.args - limits = list(reversed(limits)) - return self.__do_expansion(expr, limits[1:], limits[0]) + limits = list(reversed(self.limits)) + return self.__do_expansion(self.function, limits[1:], limits[0]) def __do_expansion( self, diff --git a/webpage/package-lock.json b/webpage/package-lock.json index 78937b14..7870726b 100644 --- a/webpage/package-lock.json +++ b/webpage/package-lock.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@tailwindcss/postcss": "^4.1.17", - "@types/node": "24.19.1", + "@types/node": "24.19.2", "@types/react": "19.3.0", "@types/react-dom": "^19.0.0", "eslint": "^10.0.0", @@ -1816,9 +1816,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "24.19.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.1.tgz", - "integrity": "sha512-aS3/DG0oM05K0RIXXP+hKjinGG5IgSSVGzswZxW3O0sS3pH4/fycXundUC9XsszgKCk4gHXylTEK6hyFxVxnoQ==", + "version": "24.19.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.2.tgz", + "integrity": "sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5634,9 +5634,9 @@ "license": "MIT" }, "node_modules/nanoid": { - "version": "3.3.18", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz", - "integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==", + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", "funding": [ { "type": "github", @@ -6032,9 +6032,9 @@ } }, "node_modules/postcss": { - "version": "8.5.28", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.28.tgz", - "integrity": "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==", + "version": "8.5.29", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.29.tgz", + "integrity": "sha512-49cGhUbXj8Qenv0iTMxA1cFBzxXoctpC9Ujd77t1WcbJIr6nF/eI7g/8MgxrYldFRuAXvja7xQRwavoW7kgrxQ==", "dev": true, "funding": [ { @@ -6052,9 +6052,9 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.18", + "nanoid": "^3.3.19", "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" + "source-map-js": "^1.2.2" }, "engines": { "node": "^10 || ^12 || >=14" diff --git a/webpage/package.json b/webpage/package.json index 6d684487..f29d04db 100644 --- a/webpage/package.json +++ b/webpage/package.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@tailwindcss/postcss": "^4.1.17", - "@types/node": "24.19.1", + "@types/node": "24.19.2", "@types/react": "19.3.0", "@types/react-dom": "^19.0.0", "eslint": "^10.0.0",