Skip to content

Commit

Permalink
Add nbstripout to pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
grst committed May 27, 2024
1 parent 80b9c3e commit fc20364
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ repos:
# Check that there are no merge conflicts (could be generated by template sync)
- id: check-merge-conflict
args: [--assume-in-merge]
- repo: https://github.com/kynan/nbstripout
rev: "0.7.1"
hooks:
- id: nbstripout
files: 'docs/notebooks/.*\.ipynb$'
- repo: local
hooks:
- id: forbid-to-commit
Expand Down

0 comments on commit fc20364

Please sign in to comment.