Skip to content

Commit

Permalink
pre-commit hook for clearing notebooks output and metadata (cleanlab#161
Browse files Browse the repository at this point in the history
)

* pre-commit hook for clearing notebooks output and metadata

* adds nbstripout as a pre-commit hook
  • Loading branch information
Kadam-Tushar authored Apr 18, 2023
1 parent 4eec800 commit 901ae45
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 @@ -3,3 +3,8 @@ repos:
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
description: Clears output and some metadata from notebooks

0 comments on commit 901ae45

Please sign in to comment.