pre-commit hooks for notebooks:
execution_count
Add the prenotebook
pre
%%file .pre-commit-config.yaml
repos:
- repo: https://github.com/ambv/black
rev: 19.10b0
hooks:
- id: black
- repo: https://github.com/deathbeds/prenotebook
rev: e8b3b91d9dc195a67f42177a9f3298f9749ea43a
hooks:
- id: prenotebook
!jupyter nbconvert --to markdown --TemplateExporter.exclude_output=True readme.ipynb