Skip to content

Commit 1b7be0f

Browse files
renovate[bot]pre-commit-ci[bot]denialhaag
authored
⬆️🩹 Update patch updates (#401)
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [astral-sh/ruff-pre-commit](https://redirect.github.com/astral-sh/ruff-pre-commit) | repository | patch | `v0.15.7` → `v0.15.8` | `v0.15.9` | | [henryiii/validate-pyproject-schema-store](https://redirect.github.com/henryiii/validate-pyproject-schema-store) | repository | patch | `2026.03.15` → `2026.03.27` | `2026.04.03` (+2) | | [python-jsonschema/check-jsonschema](https://redirect.github.com/python-jsonschema/check-jsonschema) | repository | patch | `0.37.0` → `0.37.1` | | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://redirect.github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit)</summary> ### [`v0.15.8`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.15.8) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.15.7...v0.15.8) See: <https://github.com/astral-sh/ruff/releases/tag/0.15.8> </details> <details> <summary>henryiii/validate-pyproject-schema-store (henryiii/validate-pyproject-schema-store)</summary> ### [`v2026.03.27`](https://redirect.github.com/henryiii/validate-pyproject-schema-store/compare/2026.03.15...2026.03.27) [Compare Source](https://redirect.github.com/henryiii/validate-pyproject-schema-store/compare/2026.03.15...2026.03.27) </details> <details> <summary>python-jsonschema/check-jsonschema (python-jsonschema/check-jsonschema)</summary> ### [`v0.37.1`](https://redirect.github.com/python-jsonschema/check-jsonschema/blob/HEAD/CHANGELOG.rst#0371) [Compare Source](https://redirect.github.com/python-jsonschema/check-jsonschema/compare/0.37.0...0.37.1) - Update vendored schemas: buildkite, circle-ci, dependabot, github-workflows, gitlab-ci, mergify, readthedocs, renovate, woodpecker-ci (2026-03-25) - Add Changie.dev schema and pre-commit hook. Thanks :user:`edgarrmondragon`! (:pr:`662`) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/munich-quantum-toolkit/problemsolver). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDIuMTEiLCJ1cGRhdGVkSW5WZXIiOiI0My4xMDIuMTEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInByZS1jb21taXQiXX0=--> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Haag <121057143+denialhaag@users.noreply.github.com>
1 parent 104b9ef commit 1b7be0f

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ repos:
3030

3131
## Check the pyproject.toml file
3232
- repo: https://github.com/henryiii/validate-pyproject-schema-store
33-
rev: 2026.03.15
33+
rev: 2026.03.27
3434
hooks:
3535
- id: validate-pyproject
3636
priority: 0
3737

3838
## Check JSON schemata
3939
- repo: https://github.com/python-jsonschema/check-jsonschema
40-
rev: 0.37.0
40+
rev: 0.37.1
4141
hooks:
4242
- id: check-github-workflows
4343
priority: 0
@@ -114,7 +114,7 @@ repos:
114114

115115
## Python linting using ruff
116116
- repo: https://github.com/astral-sh/ruff-pre-commit
117-
rev: v0.15.7
117+
rev: v0.15.8
118118
hooks:
119119
- id: ruff-format
120120
priority: 1

src/mqt/problemsolver/tsp.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,6 @@ def encode_eigenstate(
310310
for i in range(len(eigen_register)):
311311
if eigenstate[i] == "1":
312312
qc.x(eigen_register[i])
313-
if eigenstate[i] == "0":
314-
pass
315313
qc.barrier()
316314
return qc
317315

0 commit comments

Comments
 (0)