Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1017) (#1025)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit db70820)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
ogajduse and pre-commit-ci[bot] authored Nov 7, 2023
1 parent 8372b34 commit a18999e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion airgun/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a18999e

Please sign in to comment.