Skip to content

hmiladhia/nbmanips-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nbmanips-hooks

PyPI - License PyPI - Python Version PyPI - Wheel PyPI

A set of pre-commit hooks to handle ipynb files

Setting up pre-commit hooks

  1. 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
  1. Run the following commands:
pip install pre-commit
pre-commit install

Contribute

You can contribute by:

  1. Reporting any issues you might face with these hooks
  2. Submitting pull requests if you want to add jupyter notebook related hooks
  3. 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:

Buy Me A Coffee

About

A set of pre-commit hooks to handle ipynb files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages