diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a295c3..b9d8e0a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: - # Generic file formatting (not python-specific) repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.4.0 hooks: - id: check-json - id: check-toml @@ -14,19 +14,19 @@ repos: - id: check-shebang-scripts-are-executable - # Sorted imports repo: https://github.com/pycqa/isort - rev: 5.9.3 + rev: 5.12.0 hooks: - id: isort name: isort (python) - # Format code repo: https://github.com/psf/black - rev: 21.9b0 + rev: 23.7.0 hooks: - id: black language_version: python3.9 - # Static analysis repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 6.1.0 hooks: - id: flake8 # See: https://github.com/pre-commit/pre-commit-hooks/issues/112 @@ -34,13 +34,13 @@ repos: exclude: doc - # Type hinting/checking repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.910-1 + rev: v1.5.1 hooks: - id: mypy exclude: doc - # Markdown repo: https://github.com/jackdewinter/pymarkdown - rev: 0.9.2 + rev: v0.9.12 hooks: - id: pymarkdown # Exclude import-only files