diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 12265034..161c6e46 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -39,7 +39,7 @@ jobs: path: dist merge-multiple: true - name: Generate artifact attestation for sdist and wheel(s) - uses: actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d # v4.2.1 + uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2 with: subject-path: "dist/*" - uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 237ef8be..de6038d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,14 +45,14 @@ repos: ## Check pyproject.toml file - repo: https://github.com/henryiii/validate-pyproject-schema-store - rev: 2026.08.01 + rev: 2026.08.08 hooks: - id: validate-pyproject priority: 0 ## Ensure uv.lock is up to date - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.12.1 + rev: 0.12.3 hooks: - id: uv-lock priority: 0 @@ -111,7 +111,7 @@ repos: ## Format Markdown files with rumdl - repo: https://github.com/rvben/rumdl-pre-commit - rev: v0.2.49 + rev: v0.2.52 hooks: - id: rumdl args: [--fix] @@ -121,7 +121,7 @@ repos: ## Format and lint Python files with ruff - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.1 + rev: v0.16.2 hooks: - id: ruff-check require_serial: true @@ -144,7 +144,7 @@ repos: ## Check Python types with ty - repo: https://github.com/astral-sh/ty-pre-commit - rev: v0.0.65 + rev: v0.0.69 hooks: - id: ty args: [--isolated] diff --git a/src/mqt/problemsolver/qubo_tools/pathfinder/pathfinder.py b/src/mqt/problemsolver/qubo_tools/pathfinder/pathfinder.py index 941a1d21..662e0b68 100644 --- a/src/mqt/problemsolver/qubo_tools/pathfinder/pathfinder.py +++ b/src/mqt/problemsolver/qubo_tools/pathfinder/pathfinder.py @@ -128,7 +128,7 @@ def __from_json( with (resources.files(__package__) / "resources" / "constraint.json").open("r") as f: constraint_schema = json.load(f) - registry: Registry[dict[str, Any]] = Registry().with_resources([ + registry = Registry().with_resources([ ("main_schema", Resource.from_contents(main_schema, DRAFT7)), ("constraint.json", Resource.from_contents(constraint_schema, DRAFT7)), ])