diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 02f143f9..4b3808f9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,13 +14,13 @@ repos: hooks: - id: absolufy-imports - repo: https://github.com/asottile/reorder-python-imports - rev: v3.12.0 + rev: v3.14.0 hooks: - id: reorder-python-imports exclude: doc/ # syntax - repo: https://github.com/asottile/pyupgrade - rev: v3.15.2 + rev: v3.19.0 hooks: - id: pyupgrade # text @@ -29,7 +29,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: # python - id: check-ast @@ -50,18 +50,18 @@ repos: - id: detect-private-key # code style - repo: https://github.com/psf/black - rev: 24.4.0 + rev: 24.10.0 hooks: - id: black - id: black-jupyter - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 exclude: ^(example|doc)/ # jupyter - repo: https://github.com/kynan/nbstripout - rev: 0.7.1 + rev: 0.8.1 hooks: - id: nbstripout # doc @@ -75,6 +75,6 @@ repos: - id: rst-inline-touching-normal - id: text-unicode-replacement-char - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell