kynan / nbstripout

strip output from Jupyter and IPython notebooks
Other
1.19k stars 95 forks source link

Add support for "pre-commit" hooks manager #91

Closed lainiwa closed 5 years ago

lainiwa commented 5 years ago

So that users of pre-commit could add something like

- repo: https://github.com/kynan/nbstripout
  rev: master
  hooks:
    - id: nbstripout

to their .pre-commit-config.yaml file and have their notebooks cleaned before commit.

I hope this might be useful.

lainiwa commented 5 years ago

Didn't see you already have a similar pull request, sorry.

kynan commented 5 years ago

@lainiwa maybe you can address the issues I raised in #79 since @Ohjeah seems to have gone unresponsive.