diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0d59d44..0fc7a6a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/PyCQA/isort - rev: 5.13.2 + rev: 7.0.0 hooks: - id: isort name: isort @@ -10,30 +10,30 @@ repos: types: [cython] args: ["--profile=black"] - - repo: https://github.com/psf/black - rev: 24.8.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.12.0 hooks: - id: black types: [python] - repo: https://github.com/asottile/blacken-docs - rev: 1.18.0 + rev: 1.20.0 hooks: - id: blacken-docs - additional_dependencies: ["black==24.8.0"] + additional_dependencies: ["black==25.12.0"] - repo: https://github.com/kynan/nbstripout - rev: 0.7.1 + rev: 0.8.2 hooks: - id: nbstripout - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.7 + rev: 1.9.1 hooks: - id: nbqa-isort args: ["--profile=black"] - id: nbqa-black - additional_dependencies: ["black==24.8.0"] + additional_dependencies: ["black==25.12.0"] - id: nbqa-flake8 - repo: https://github.com/pre-commit/pygrep-hooks @@ -50,7 +50,7 @@ repos: types: [text] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -77,12 +77,12 @@ repos: exclude: \.(html|svg)$ - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.5.0 + rev: v3.2.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/PyCQA/flake8 - rev: 7.1.1 + rev: 7.3.0 hooks: - id: flake8 additional_dependencies: diff --git a/requirements-dev.txt b/requirements-dev.txt index 4b9e822..ace01f7 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,3 @@ -black==24.8.0 +black==25.12.0 identify>=1.4.20 pre-commit