From 7f6bda99fbc7a004b9634be7c2173401ef3df460 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Tue, 7 Nov 2023 03:34:19 -0500 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#1017) (#1024) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (cherry picked from commit db70820a28b5f289210a4d39a6291c71607fa3e5) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- airgun/session.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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)