File tree Expand file tree Collapse file tree 5 files changed +32
-0
lines changed
Expand file tree Collapse file tree 5 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 3737 - name : Lint
3838 run : make lint
3939
40+ spellcheck :
41+ runs-on : ubuntu-22.04
42+ steps :
43+ - name : Checkout
44+ uses : actions/checkout@v4
45+
46+ - name : Setup Python
47+ uses : actions/setup-python@v5
48+ with :
49+ python-version : ' 3.10'
50+
51+ - name : Install dependencies with pip
52+ run : pip install --no-warn-script-location --user -r requirements.txt -c constraints.txt
53+
54+ - name : Spellcheck
55+ run : make spellcheck
56+
4057 build :
4158 needs : [test, lint]
4259 runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 2828test :
2929 doc8 --ignore D001 --ignore-path build
3030
31+ spellcheck :
32+ git ls-files ' *.md' ' *.rst' | xargs codespell --ignore-words=codespell_whitelist.txt --skip=" source/Releases/*"
33+
3134linkcheck :
3235 $(BUILD ) -b linkcheck $(OPTS ) $(SOURCE ) $(LINKCHECKDIR )
3336 @echo
Original file line number Diff line number Diff line change @@ -51,6 +51,15 @@ For local testing of the current tree use:
5151
5252` sensible-browser build/html/index.html `
5353
54+ ### Spelling Check
55+
56+ To check the spelling, use:
57+
58+ ` make spellcheck `
59+
60+ > [ !NOTE]
61+ > If that detects specific words that need to be ignored, add it to [ codespell_whitelist] ( ./codespell_whitelist.txt ) .
62+
5463### Deployment test
5564
5665To test building the multisite version deployed to the website use:
Original file line number Diff line number Diff line change 1+ empy
2+ indention
Original file line number Diff line number Diff line change 1+ codespell
12doc8
23docutils
34pip
You can’t perform that action at this time.
0 commit comments