Skip to content

Commit

Permalink
style: use black's built-in Jupyter support (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Sep 13, 2021
1 parent 722ccf7 commit 802a87e
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,7 @@ repos:
- repo: https://github.com/psf/black
rev: 21.8b0
hooks:
- id: black
types: [file]
types_or: [python, pyi]

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.1.0
hooks:
- id: nbqa-black
additional_dependencies: [black==21.7b0]
args: ["--nbqa-mutate"]

# - repo: https://github.com/asottile/blacken-docs
# rev: v1.10.0
# hooks:
# - id: blacken-docs
# additional_dependencies: [black==20.8b1]
# args: ["--target-version=py36"]
# stages: ["manual"]
- id: black-jupyter

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
Expand Down

0 comments on commit 802a87e

Please sign in to comment.