Skip to content

Commit

Permalink
Add NBQA for notebook and docs linting
Browse files Browse the repository at this point in the history
This is now possible after nbQA-dev/nbQA#745 which solved this issue (nbQA-dev/nbQA#668) I opened a year ago.
  • Loading branch information
basnijholt committed Sep 19, 2022
1 parent c59405a commit 09e4f35
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Expand Up @@ -25,3 +25,14 @@ repos:
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.5.0
hooks:
- id: nbqa-black
additional_dependencies: [jupytext, black]
- id: nbqa-pyupgrade
args: ["--py37-plus"]
additional_dependencies: [jupytext, pyupgrade]
- id: nbqa-isort
args: ["--profile=black"]
additional_dependencies: [jupytext, isort]

0 comments on commit 09e4f35

Please sign in to comment.