Skip to content

Commit

Permalink
add hook to find and clean dirty notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Mar 1, 2023
1 parent 849d3a8 commit 0de3a79
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,11 @@ repos:
- flake8-comprehensions
- flake8-simplify

- repo: https://gitlab.com/kennon.mckeever/nbhooks
rev: 1.0.1
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nb-ensure-clean
name: nb-ensure-clean
description: Ensure that committed Jupyter notebooks contain no outputs.
entry: nb-ensure-clean
files: \.ipynb$
language: python
- id: nbstripout
description: Strip output from jupyter notebooks

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
Expand Down

0 comments on commit 0de3a79

Please sign in to comment.