Skip to content

Commit

Permalink
convert to ipynb before pre-commit (networkx#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschult authored Aug 31, 2023
1 parent 991e83d commit cfe9dd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
- name: Lint with precommit
run: |
pip install pre-commit
find content/ -name "*.md" -exec jupytext --to notebook {} \;
# pre-commit wants files to be staged
find content/ -name "*.ipynb" -exec git add {} \;
pre-commit run --all-files --show-diff-on-failure --color always
- name: Test with nbval
Expand Down

0 comments on commit cfe9dd6

Please sign in to comment.