diff --git a/.codespellrc b/.codespellrc index 97f3aa407..b5b963a35 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,5 +1,5 @@ [codespell] -skip = .git,*.ipynb,*.bib,*.ps,*.js,*.pdf +skip = .git,*.bib,*.ps,*.js,*.pdf ignore-words = .codespell-ignore-words diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 737acff1b..a500eeb29 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -26,6 +26,9 @@ jobs: - name: Install dependencies run: pip install -r ./requirements.txt + - name: Preprocess notebooks + run: for i in $(find . -name "*.ipynb"); do jupyter nbconvert --clear-output --inplace $i; done + - name: Run codespell run: | codespell diff --git a/docs/source/adding_a_problem_jupyter.ipynb b/docs/source/adding_a_problem_jupyter.ipynb index d8e116739..2fd829302 100644 --- a/docs/source/adding_a_problem_jupyter.ipynb +++ b/docs/source/adding_a_problem_jupyter.ipynb @@ -114,7 +114,7 @@ "id": "6f682998-c452-4fdf-87dc-bac340e9e9df", "metadata": {}, "source": [ - "It often works best if you start with an existing problem. We can inspect the source of one of the build-in problems easily:" + "It often works best if you start with an existing problem. We can inspect the source of one of the built-in problems easily:" ] }, { diff --git a/docs/source/rt_average.ipynb b/docs/source/rt_average.ipynb index 14fdaa201..07be20e0e 100644 --- a/docs/source/rt_average.ipynb +++ b/docs/source/rt_average.ipynb @@ -13,7 +13,7 @@ "id": "6395d3eb-9572-454b-823a-b5c2f8c4267d", "metadata": {}, "source": [ - "Here we show how to do a lateral / horizonal average of the compressible Rayleigh-Taylor\n", + "Here we show how to do a lateral / horizontal average of the compressible Rayleigh-Taylor\n", "simulation to see what the average vertical profile of the mixing looks like." ] },