diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f2abd624c..17611776d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace @@ -24,7 +24,7 @@ repos: hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.7" + rev: "v0.12.8" hooks: - id: ruff-format - id: ruff diff --git a/src/virtualenv/__main__.py b/src/virtualenv/__main__.py index 1dbcba7d3..49f59da38 100644 --- a/src/virtualenv/__main__.py +++ b/src/virtualenv/__main__.py @@ -66,7 +66,7 @@ def run_with_catch(args=None, env=None): options = VirtualEnvOptions() try: run(args, options, env) - except (KeyboardInterrupt, SystemExit, Exception) as exception: + except (KeyboardInterrupt, SystemExit, Exception) as exception: # noqa: BLE001 try: if getattr(options, "with_traceback", False): raise