diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c335896..35b2912 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.4.1 + rev: v1.5.1 hooks: - id: mypy language_version: python3.11 @@ -10,13 +10,13 @@ repos: - types-PyYAML - types-passlib - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.281 + rev: v0.0.288 hooks: - id: ruff language_version: python3.11 files: src - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 23.9.1 hooks: - id: black language_version: python3.11 diff --git a/pyproject.toml b/pyproject.toml index da65ace..2aef9b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,7 @@ passhash = "passhash:main" tests = [ "black == 23.9.1", "mypy == 1.5.1", - "ruff == 0.0.281", + "ruff == 0.0.288", "types-PyYAML == 6.0.12.11", "types-passlib == 1.7.7.13", ] diff --git a/src/passhash/__init__.py b/src/passhash/__init__.py index 22855b7..37504a0 100644 --- a/src/passhash/__init__.py +++ b/src/passhash/__init__.py @@ -7,7 +7,7 @@ def export(defn: Any) -> None: # noqa: ANN401 """Module-level export decorator.""" globals()[defn.__name__] = defn - __all__.append(defn.__name__) + __all__.append(defn.__name__) # noqa: PYI056 return defn