Skip to content

Python precommit plugin to scrub Jupyter Notebok Outputs

License

Notifications You must be signed in to change notification settings

TWAICE/precommit-nbscrub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pre-Commit NB Scrub

A pre-commit hook to remove all code outputs in all ipython notebook(s) in a given directory using jupyter nbconvert utility.

Installation

Add the following to your .pre-commit-config.yaml repos section

repos:
-   repo: https://github.com/TWAICE/precommit-nbscrub
    rev: 1.0.0
    hooks:
        - id: ipynb-output-scrub

About

Python precommit plugin to scrub Jupyter Notebok Outputs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published