diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99300c9..7bb6383 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,14 +1,14 @@ repos: - - repo: https://github.com/psf/black - rev: 20.8b1 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.12.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: "3.8.4" + rev: "7.3.0" hooks: - id: flake8 - repo: https://github.com/asottile/pyupgrade - rev: v2.7.4 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py36-plus] diff --git a/dectate/sphinxext.py b/dectate/sphinxext.py index 2373004..910365c 100644 --- a/dectate/sphinxext.py +++ b/dectate/sphinxext.py @@ -4,6 +4,7 @@ object using the directive decorator, and the signature needs to be obtained from the action class's ``__init__`` manually. """ + import inspect