diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea9ad4a..dd97af3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ default_language_version: python: python3.10 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: trailing-whitespace args: [--markdown-linebreak-ext=md] @@ -17,14 +17,14 @@ repos: # mypyc-compiled `black`, which is about 2x faster; see: # https://black.readthedocs.io/en/stable/integrations/source_version_control.html - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.4.2 + rev: 26.1.0 hooks: - id: black - repo: https://github.com/asottile/reorder-python-imports - rev: v3.13.0 + rev: v3.16.0 hooks: - id: reorder-python-imports - repo: https://github.com/jendrikseipp/vulture - rev: 'v2.11' + rev: 'v2.14' hooks: - id: vulture diff --git a/onetimepass/db/__init__.py b/onetimepass/db/__init__.py index 762beb1..5bcdc41 100644 --- a/onetimepass/db/__init__.py +++ b/onetimepass/db/__init__.py @@ -9,7 +9,6 @@ from .json_encrypted import JSONEncryptedDB from .models import DatabaseSchema - __all__ = [ "BaseDB", "BaseDBException", diff --git a/onetimepass/master_key.py b/onetimepass/master_key.py index 782d669..2e9af03 100644 --- a/onetimepass/master_key.py +++ b/onetimepass/master_key.py @@ -3,7 +3,6 @@ from onetimepass import settings - try: import keyring # noqa 'keyring' in the try block with 'except ImportError' should also be defined in the except block except ImportError: