Skip to content

Commit 492b747

Browse files
committed
run codespell on notebooks
this will preprocess the notebooks and remove the output first
1 parent a3da1f1 commit 492b747

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[codespell]
2-
skip = .git,*.ipynb,*.bib,*.ps,*.js,*.pdf
2+
skip = .git,*.bib,*.ps,*.js,*.pdf
33
ignore-words = .codespell-ignore-words
44

55

.github/workflows/codespell.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- name: Install dependencies
2727
run: pip install -r ./requirements.txt
2828

29+
- name: Preprocess notebooks
30+
run: for i in $(find . -name "*.ipynb"); do jupyter nbconvert --clear-output --inplace $i; done
31+
2932
- name: Run codespell
3033
run: |
3134
codespell

0 commit comments

Comments
 (0)