diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7b65564..d89f573 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-toml - id: check-yaml @@ -9,21 +9,21 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 + - repo: https://github.com/rbubley/mirrors-prettier + rev: v3.3.3 hooks: - id: prettier - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.1.0 hooks: - id: flake8 additional_dependencies: @@ -34,6 +34,6 @@ repos: - id: doc8 exclude: README\.rst - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.11.0 + rev: 24.4.2 hooks: - id: black diff --git a/docs/conf.py b/docs/conf.py index af8852a..245e86f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -4,6 +4,7 @@ list see the documentation: https://www.sphinx-doc.org/en/master/usage/configuration.html """ + import re from importlib.metadata import distribution