diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 139777a..945ae17 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,21 +2,21 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-added-large-files - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.6.8' + rev: 'v0.8.1' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.13.0 hooks: - id: mypy additional_dependencies: diff --git a/src/unearth/__init__.py b/src/unearth/__init__.py index 4b2b3ae..bfa30cf 100644 --- a/src/unearth/__init__.py +++ b/src/unearth/__init__.py @@ -13,15 +13,15 @@ from unearth.vcs import vcs_support __all__ = [ + "BestMatch", + "HashMismatchError", "Link", - "Source", "Package", + "PackageFinder", + "Source", + "TargetPython", "URLError", - "BestMatch", "UnpackError", - "vcs_support", - "TargetPython", - "PackageFinder", "VCSBackendError", - "HashMismatchError", + "vcs_support", ] diff --git a/src/unearth/vcs/__init__.py b/src/unearth/vcs/__init__.py index bd4a322..4febaf9 100644 --- a/src/unearth/vcs/__init__.py +++ b/src/unearth/vcs/__init__.py @@ -4,4 +4,4 @@ from unearth.vcs.hg import Mercurial from unearth.vcs.svn import Subversion -__all__ = ["vcs_support", "Git", "Mercurial", "Bazaar", "Subversion"] +__all__ = ["Bazaar", "Git", "Mercurial", "Subversion", "vcs_support"]