diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9e02a37..9535df4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: ## Ensure uv.lock is up to date - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.11.18 + rev: 0.11.19 hooks: - id: uv-lock priority: 0 @@ -69,7 +69,7 @@ repos: ## Check for typos - repo: https://github.com/adhtruong/mirrors-typos - rev: v1.47.0 + rev: v1.47.2 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.15 + rev: v0.15.16 hooks: - id: ruff-format types_or: [python, pyi, jupyter, markdown] diff --git a/python/mqt/debugger/check/run_preparation.py b/python/mqt/debugger/check/run_preparation.py index 0e7dddd..bbd2e77 100644 --- a/python/mqt/debugger/check/run_preparation.py +++ b/python/mqt/debugger/check/run_preparation.py @@ -42,7 +42,7 @@ def start_compilation(code: Path, output_dir: Path) -> None: output_dir (Path): The directory to store the compiled slices. """ state = dbg.create_ddsim_simulation_state() - try: # noqa: PLW0717 + try: with code.open("r", encoding="utf-8") as f: code_str = f.read() load_result = state.load_code(code_str)