Skip to content
Snippets Groups Projects
Commit 5c706552 authored by mmrahorovic's avatar mmrahorovic
Browse files

[pre-commit]: added hook to clear Jupyter notebook output cells

parent 0e0a7349
No related branches found
No related tags found
No related merge requests found
......@@ -68,3 +68,11 @@ repos:
# black-compatible flake-8 config
args: ['--max-line-length=88', # black default
'--extend-ignore=E203'] # E203 is not PEP8 compliant
- repo: local
hooks:
- id: jupyter-nb-clear-output
name: jupyter-nb-clear-output
files: \.ipynb$
language: system
entry: jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment