diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7fc2207..499fd29 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,14 +9,14 @@ default_language_version: python: python3 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-toml - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.1 + rev: v1.13.0 hooks: - id: mypy args: ["--strict"] @@ -24,7 +24,7 @@ repos: additional_dependencies: ["httpx", "packaging", "typer>=0.3.2"] - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.5.0 + rev: v0.8.0 hooks: - id: ruff - id: ruff-format diff --git a/src/pip_deepfreeze/compat.py b/src/pip_deepfreeze/compat.py index fa95623..d4e5385 100644 --- a/src/pip_deepfreeze/compat.py +++ b/src/pip_deepfreeze/compat.py @@ -1,6 +1,6 @@ import sys -__all__ = ["tomllib", "importlib_resources"] +__all__ = ["importlib_resources", "tomllib"] if sys.version_info >= (3, 11):