diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0123358..941d49d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-yaml @@ -12,18 +12,18 @@ repos: - id: end-of-file-fixer # formatter - repo: https://github.com/psf/black - rev: 24.4.0 + rev: 24.10.0 hooks: - id: black # linter - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 exclude: ^docs/ # type annotation - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.9.0 + rev: v1.13.0 hooks: - id: mypy exclude: ^docs/ @@ -42,7 +42,7 @@ repos: types: [pyi] # Upgrade syntax - repo: https://github.com/asottile/pyupgrade - rev: v3.15.2 + rev: v3.19.0 hooks: - id: pyupgrade # Docstring @@ -54,6 +54,6 @@ repos: files: ^src/spgrep_modulation/ # Notebook - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.5 + rev: 1.9.1 hooks: - id: nbqa-black