diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index af22264..28e4396 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_language_version: repos: - repo: https://github.com/asottile/pyupgrade - rev: v3.17.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [ '--py39-plus' ] @@ -14,11 +14,6 @@ repos: - id: end-of-file-fixer - id: check-yaml - id: debug-statements - - repo: https://github.com/kynan/nbstripout - rev: 0.7.1 - hooks: - - id: nbstripout - files: '.ipynb' - repo: https://github.com/psf/black rev: 24.10.0 hooks: @@ -34,15 +29,20 @@ repos: hooks: - id: flake8 args: [ '--config=setup.cfg' ] + - repo: https://github.com/kynan/nbstripout + rev: 0.8.1 + hooks: + - id: nbstripout + files: '.ipynb' - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.7 + rev: 1.9.1 hooks: - id: nbqa-pyupgrade args: [ '--py39-plus' ] - additional_dependencies: [ 'pyupgrade==v3.16.0' ] + additional_dependencies: [ 'pyupgrade==v3.19.1' ] - id: nbqa-black args: [ '--target-version=py39' ] - additional_dependencies: [ 'black==24.4.2' ] + additional_dependencies: [ 'black==24.10.0' ] - id: nbqa-isort args: [ '--profile=black' ] additional_dependencies: [ 'isort==5.13.2' ] @@ -51,10 +51,6 @@ repos: hooks: - id: pydocstyle args: [ '--convention=numpy' ] - - repo: https://github.com/asottile/pyupgrade - rev: v3.17.0 - hooks: - - id: pyupgrade - repo: meta hooks: - id: check-hooks-apply