Skip to content

Commit

Permalink
meta: Add pre-commit hook to remove all notebook cell output (#718)
Browse files Browse the repository at this point in the history
We should be clearing notebook cell output before committing them.
  • Loading branch information
jennmueng authored May 15, 2024
1 parent ad509d2 commit bb43a17
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 2,567 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ repos:
pass_filenames: false
language: system

# Strips output from jupyter notebooks
- repo: https://github.com/kynan/nbstripout
rev: 0.5.0
hooks:
- id: nbstripout

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
Expand Down
Loading

0 comments on commit bb43a17

Please sign in to comment.