diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a0a3c3e61..fe33ee8cd 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 @@ -110,7 +110,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] diff --git a/src/mqt/predictor/ml/predictor.py b/src/mqt/predictor/ml/predictor.py index 4f2a07e16..8863f337e 100644 --- a/src/mqt/predictor/ml/predictor.py +++ b/src/mqt/predictor/ml/predictor.py @@ -81,7 +81,7 @@ def setup_device_predictor( figure_of_merit=figure_of_merit, devices=devices, ) - try: + try: # noqa: PLW0717 logger.info(f"Start the training for the figure of merit: {figure_of_merit}") # Step 1: Generate compiled circuits for all devices predictor.compile_training_circuits(