Skip to content

Commit afa04d2

Browse files
committed
setup a codespell action
1 parent dc0ba10 commit afa04d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+38
-7834
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,*.bib,*.ps,*.js,*.pdf,_build,*.fodp,*.fods
2+
skip = .git,*.bib,*.ps,*.js,*.pdf,_build,*.fodp,*.fods,other,*.sty
33
ignore-words = .codespell-ignore-words
44

55

.github/workflows/codespell.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: codespell
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
codespell:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v6
17+
18+
- name: Setup Python
19+
uses: actions/setup-python@v6
20+
with:
21+
python-version: '3.14'
22+
cache: "pip"
23+
24+
- name: Install dependencies
25+
run: pip install -r ./requirements.txt
26+
27+
- name: Install codespell
28+
run: pip install codespell
29+
30+
- name: Preprocess notebooks
31+
run: for i in $(find . -name "*.ipynb"); do jupyter nbconvert --clear-output --inplace $i; done
32+
33+
- name: Run codespell
34+
run: |
35+
codespell content
36+

content/git/version-control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ You can follow the instructions from the [Software Carpentry lessons](https://ca
66
77
* Windows: use [git for Windows](https://gitforwindows.org/)
88
9-
* Mac: in a teminal, do:
9+
* Mac: in a terminal, do:
1010
1111
```
1212
git --version

docs/.nojekyll

Whitespace-only changes.

docs/LICENSE.txt

Lines changed: 0 additions & 63 deletions
This file was deleted.

docs/assets/css/font-awesome.min.css

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/assets/css/ie9.css

Lines changed: 0 additions & 39 deletions
This file was deleted.
-426 KB
Binary file not shown.

docs/assets/css/images/overlay.png

-2.97 KB
Binary file not shown.
-120 KB
Binary file not shown.

0 commit comments

Comments
 (0)