diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d3d80b961..8fedc14c8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,16 +5,16 @@ ci: repos: - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.10.1 hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.277 + rev: v0.1.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v4.5.0 hooks: - id: check-yaml - id: debug-statements diff --git a/airgun/session.py b/airgun/session.py index c87e4cb17..0ffbd2148 100644 --- a/airgun/session.py +++ b/airgun/session.py @@ -233,7 +233,7 @@ def __exit__(self, exc_type, exc_value, traceback): try: if not passed: self.take_screenshot() - except Exception as err: # noqa: BLE001 - TODO: fix bare except + except Exception as err: # - TODO: fix bare except LOGGER.exception(err) finally: self._factory.finalize(passed)