diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4a794fc..a053beb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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"] diff --git a/src/asphalt/exceptions/__init__.py b/src/asphalt/exceptions/__init__.py index 73fae70..e8160c6 100644 --- a/src/asphalt/exceptions/__init__.py +++ b/src/asphalt/exceptions/__init__.py @@ -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