A set of pre-commit hooks to handle ipynb files
- Create the following file
.pre-commit-config.yaml
:
- repo: https://github.com/hmiladhia/nbmanips-hooks
rev: v0.0.2
hooks:
- id: nb-delete-empty-cells
- id: nb-delete-image-outputs
- Run the following commands:
pip install pre-commit
pre-commit install
You can contribute by:
- Reporting any issues you might face with these hooks
- Submitting pull requests if you want to add jupyter notebook related hooks
- Suggesting ideas for other hooks (Create a dedicated issue).
If you like the project and want to support us, you can buy us a coffee here: