Skip to content

Commit

Permalink
Remove Notebook Output before running pre-commit lint checks (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverholworthy authored and sararb committed Feb 14, 2023
1 parent 3a0f586 commit 719d255
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ jobs:
- name: Install black Jupyter
run : |
pip install black[jupyter]==22.3.0
- name: Remove Notebook Output
run: |
pip install nbstripout
find . -type f -name "*.ipynb" -exec nbstripout "{}" +
- uses: pre-commit/action@v3.0.0

0 comments on commit 719d255

Please sign in to comment.