Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# * Run "pre-commit install".
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: check-toml
- id: check-yaml
Expand All @@ -16,14 +16,14 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.13.0
hooks:
- id: ruff
args: [--fix, --show-fixes]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.18.1
hooks:
- id: mypy
additional_dependencies: ["pytest"]
3 changes: 1 addition & 2 deletions src/asphalt/exceptions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ def report_exception(
exception = sys.exc_info()[1]
if not exception:
raise ValueError(
'missing "exception" parameter and no current exception present in '
"sys.exc_info()"
'missing "exception" parameter and no current exception present in sys.exc_info()'
)

actual_logger: logging.Logger | None
Expand Down
Loading