jacopoteneggi commited on
Commit
2d9cd06
·
verified ·
1 Parent(s): b30bcef

Add pre-commit

Browse files
Files changed (1) hide show
  1. .pre-commit-config.yaml +14 -0
.pre-commit-config.yaml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ repos:
2
+ - repo: https://github.com/pycqa/isort
3
+ rev: 5.12.0
4
+ hooks:
5
+ - id: isort
6
+ args: ["--profile", "black", "--filter-files"]
7
+ - repo: https://github.com/psf/black
8
+ rev: 22.6.0
9
+ hooks:
10
+ - id: black-jupyter
11
+ - repo: https://github.com/kynan/nbstripout
12
+ rev: 0.5.0
13
+ hooks:
14
+ - id: nbstripout