Skip to content

Commit 802a87e

Browse files
authored
style: use black's built-in Jupyter support (#638)
1 parent 722ccf7 commit 802a87e

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,7 @@ repos:
66
- repo: https://github.com/psf/black
77
rev: 21.8b0
88
hooks:
9-
- id: black
10-
types: [file]
11-
types_or: [python, pyi]
12-
13-
- repo: https://github.com/nbQA-dev/nbQA
14-
rev: 1.1.0
15-
hooks:
16-
- id: nbqa-black
17-
additional_dependencies: [black==21.7b0]
18-
args: ["--nbqa-mutate"]
19-
20-
# - repo: https://github.com/asottile/blacken-docs
21-
# rev: v1.10.0
22-
# hooks:
23-
# - id: blacken-docs
24-
# additional_dependencies: [black==20.8b1]
25-
# args: ["--target-version=py36"]
26-
# stages: ["manual"]
9+
- id: black-jupyter
2710

2811
- repo: https://github.com/pre-commit/pre-commit-hooks
2912
rev: v4.0.1

0 commit comments

Comments
 (0)