diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 27bfe5a5..1d557860 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,9 +19,9 @@ repos: hooks: - id: setup-cfg-fmt - repo: https://github.com/psf/black - rev: 21.7b0 + rev: 21.9b0 hooks: - - id: black + - id: black-jupyter - repo: https://github.com/PyCQA/isort rev: "5.9.3" hooks: @@ -77,9 +77,6 @@ repos: - repo: https://github.com/nbQA-dev/nbQA rev: 1.1.0 hooks: - - id: nbqa-black - # Match version of black used for .py and .ipynb - additional_dependencies: [black==21.7b0] - id: nbqa-isort additional_dependencies: [isort==5.9.3] - id: nbqa-mypy diff --git a/setup.cfg b/setup.cfg index a89c4a9b..430514f7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -62,14 +62,14 @@ where = src [options.extras_require] dev = - black + black[jupyter] build bump2version deepdiff ipython isort nbsphinx - pre-commit + pre-commit>=2.15.0 pycodestyle pytest pytest-cov