From 4a9cbbb48ed0d1629037142fc861e1b66e0e1bc2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 31 May 2026 13:02:27 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E2=AC=86=EF=B8=8F=F0=9F=A9=B9=20Update=20p?= =?UTF-8?q?atch=20updates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e1b5c12a2..e6ef43289 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.05.15 + rev: 2026.05.24 hooks: - id: validate-pyproject priority: 0 ## Ensure uv.lock is up to date - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.11.14 + rev: 0.11.16 hooks: - id: uv-lock priority: 0 @@ -69,7 +69,7 @@ repos: ## Check for typos - repo: https://github.com/adhtruong/mirrors-typos - rev: v1.46.2 + rev: v1.46.3 hooks: - id: typos priority: 3 @@ -128,7 +128,7 @@ repos: ## Format and lint Python files with ruff - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.13 + rev: v0.15.14 hooks: - id: ruff-format types_or: [python, pyi, jupyter, markdown] From aa9ac35bfd152f9d5bdfd1001fa2101588985329 Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Mon, 1 Jun 2026 10:23:37 +0200 Subject: [PATCH 2/2] Ignore ruff errors --- eval/clifford_state_prep/clifford_state_prep_eval.py | 2 +- eval/clifford_state_prep/monitor_progress.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eval/clifford_state_prep/clifford_state_prep_eval.py b/eval/clifford_state_prep/clifford_state_prep_eval.py index 24a5b4282..ae69409c2 100644 --- a/eval/clifford_state_prep/clifford_state_prep_eval.py +++ b/eval/clifford_state_prep/clifford_state_prep_eval.py @@ -447,7 +447,7 @@ def evaluate_circuits(method: str, **kwargs: dict[str, Any]) -> None: return logger.info(f"Running evaluations in parallel with {workers} worker threads") - try: + try: # noqa: PLW0717 args_iter = [(str(cf), method, kwargs) for cf in circuit_files] with ThreadPoolExecutor(max_workers=workers) as executor: futures = [executor.submit(_parallel_worker_packed, args) for args in args_iter] diff --git a/eval/clifford_state_prep/monitor_progress.py b/eval/clifford_state_prep/monitor_progress.py index 9c6bb739e..7755878c3 100644 --- a/eval/clifford_state_prep/monitor_progress.py +++ b/eval/clifford_state_prep/monitor_progress.py @@ -185,7 +185,7 @@ def main() -> int: print(f"Database not found: {db_path}") return 1 - try: + try: # noqa: PLW0717 while True: if not db_path.exists(): clear_screen()