add nbstripout pre-commit

This commit is contained in:
Casper da Costa-Luis 2021-03-08 23:54:13 +00:00
parent 06698c5e97
commit 5cd575b8a8
No known key found for this signature in database
GPG Key ID: F5126E5FBD2512AD
3 changed files with 9 additions and 5 deletions

View File

@ -52,3 +52,9 @@ repos:
rev: 5.7.0
hooks:
- id: isort
repos:
- repo: https://github.com/kynan/nbstripout
rev: master
hooks:
- id: nbstripout
args: ['--keep-count', '--keep-output']

View File

@ -1714,15 +1714,12 @@
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"name": "ipython"
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.8"
"nbconvert_exporter": "python"
}
},
"nbformat": 4,

View File

@ -29,6 +29,7 @@ dependencies:
# extras
- dask # dask
- matplotlib # gui
- nbstripout # notebook editing
- numpy # pandas, keras, contrib.tenumerate
- pandas
- tensorflow # keras