Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace nbqa-black with black-jupyter pre-commit hook #252

Merged
merged 1 commit into from Sep 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 2 additions & 5 deletions .pre-commit-config.yaml
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Expand Up @@ -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
Expand Down