Skip to content

Commit a584a6b

Browse files
committed
Fix spell issues
1 parent 4dc7ea5 commit a584a6b

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

.github/workflows/core.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ jobs:
1717
with:
1818
submodules: "recursive"
1919

20-
- uses: codespell-project/actions-codespell@v2
21-
with:
22-
ignore_words_list: ans,homestate,ser
23-
2420
- name: Set up Python ${{ matrix.python-version }}
2521
uses: actions/setup-python@v5
2622
with:
@@ -31,6 +27,12 @@ jobs:
3127
python -m pip install --upgrade pip
3228
pip install tox
3329
30+
- name: Run "codespell" on Linux
31+
if: startsWith(matrix.os, 'ubuntu')
32+
run: |
33+
python -m pip install codespell
34+
make codespell
35+
3436
- name: Core System Info
3537
run: |
3638
tox -e py

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ format:
1010
black ./platformio
1111
black ./tests
1212

13+
codespell:
14+
codespell --skip "./build,./docs/_build" -L "AtLeast,PreProcesor,TRE,ans,dout,homestate,ser"
15+
1316
test:
1417
pytest --verbose --exitfirst -n 6 --dist=loadscope tests --ignore tests/test_examples.py
1518

16-
before-commit: isort format lint
19+
before-commit: codespell isort format lint
1720

1821
clean-docs:
1922
rm -rf docs/_build

examples

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ passenv = *
2727
usedevelop = True
2828
deps =
2929
black
30+
codespell
3031
isort
32+
jsondiff
3133
pylint
3234
pytest
3335
pytest-xdist
34-
jsondiff
3536
commands =
3637
{envpython} --version
3738
pio system info

0 commit comments

Comments
 (0)