Skip to content

Commit 3038add

Browse files
committed
Add pre-commit config
1 parent b62bc6a commit 3038add

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: clear-nb-output
5+
name: clear-nb-output
6+
files: \.ipynb$
7+
language: system
8+
entry: jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace
9+
- id: black
10+
name: black
11+
entry: black
12+
language: system
13+
files: \.(py|ipynb)$

0 commit comments

Comments
 (0)