Skip to content

Commit 0bbbe2a

Browse files
authored
spell check notebooks too (#54)
this strips the notebook output first before running
1 parent 8a4c11c commit 0bbbe2a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.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
2+
skip = .git,*.bib,*.ps
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

docs/hse-reconstruction.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@
473473
"id": "ec8ae681-d63c-4426-8939-898f8e6154fc",
474474
"metadata": {},
475475
"source": [
476-
"The final variation is to keep the parabola in terms of $p^\\prime$ and do the characterstic tracing\n",
476+
"The final variation is to keep the parabola in terms of $p^\\prime$ and do the characteristic tracing\n",
477477
"on that. Then we need add back in the HSE interface pressure after the tracing. \n",
478478
"\n",
479479
"A few notes:\n",

0 commit comments

Comments
 (0)