Fix spell issues

This commit is contained in:
Ivan Kravets
2025-02-08 19:27:58 +02:00
parent 4dc7ea5bd0
commit a584a6bce3
5 changed files with 14 additions and 8 deletions

View File

@ -17,10 +17,6 @@ jobs:
with:
submodules: "recursive"
- uses: codespell-project/actions-codespell@v2
with:
ignore_words_list: ans,homestate,ser
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
@ -31,6 +27,12 @@ jobs:
python -m pip install --upgrade pip
pip install tox
- name: Run "codespell" on Linux
if: startsWith(matrix.os, 'ubuntu')
run: |
python -m pip install codespell
make codespell
- name: Core System Info
run: |
tox -e py

View File

@ -10,10 +10,13 @@ format:
black ./platformio
black ./tests
codespell:
codespell --skip "./build,./docs/_build" -L "AtLeast,PreProcesor,TRE,ans,dout,homestate,ser"
test:
pytest --verbose --exitfirst -n 6 --dist=loadscope tests --ignore tests/test_examples.py
before-commit: isort format lint
before-commit: codespell isort format lint
clean-docs:
rm -rf docs/_build

2
docs

Submodule docs updated: 93c46bdf3f...2a5ebc47a7

View File

@ -27,11 +27,12 @@ passenv = *
usedevelop = True
deps =
black
codespell
isort
jsondiff
pylint
pytest
pytest-xdist
jsondiff
commands =
{envpython} --version
pio system info