Spaces:
Running
Running
Update .pre-commit-config.yaml
Browse files- .pre-commit-config.yaml +10 -0
.pre-commit-config.yaml
CHANGED
@@ -35,3 +35,13 @@ repos:
|
|
35 |
hooks:
|
36 |
- id: yapf
|
37 |
args: ['--parallel', '--in-place']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
hooks:
|
36 |
- id: yapf
|
37 |
args: ['--parallel', '--in-place']
|
38 |
+
- repo: https://github.com/kynan/nbstripout
|
39 |
+
rev: 0.6.0
|
40 |
+
hooks:
|
41 |
+
- id: nbstripout
|
42 |
+
args: ['--extra-keys', 'metadata.interpreter metadata.kernelspec cell.metadata.pycharm']
|
43 |
+
- repo: https://github.com/nbQA-dev/nbQA
|
44 |
+
rev: 1.6.4
|
45 |
+
hooks:
|
46 |
+
- id: nbqa-isort
|
47 |
+
- id: nbqa-yapf
|