diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc5de3e7..d9c52eff 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,7 +57,7 @@ repos: # Python linting and formatting using ruff - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.3 + rev: v0.8.6 hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/test/python/test_verify.py b/test/python/test_verify.py index 38fb1ff2..01c90f80 100644 --- a/test/python/test_verify.py +++ b/test/python/test_verify.py @@ -91,5 +91,5 @@ def test_cpp_exception_propagation_internal() -> None: config.execution.run_zx_checker = False config.application.simulation_scheme = qcec.ApplicationScheme.lookahead - with pytest.raises(ValueError, match="Lookahead application scheme can only be used for matrices."): + with pytest.raises(ValueError, match=r"Lookahead application scheme can only be used for matrices."): qcec.verify(qc, qc, configuration=config)