diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index d87376e8..faf878c4 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -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 diff --git a/Makefile b/Makefile index e4c82fd3..7f182f79 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/docs b/docs index 93c46bdf..2a5ebc47 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 93c46bdf3fed561c069fd4dcb80aef9f5a825723 +Subproject commit 2a5ebc47a7f2395d842fbec75cb7dac6266a3121 diff --git a/examples b/examples index 4953bbab..9f28e742 160000 --- a/examples +++ b/examples @@ -1 +1 @@ -Subproject commit 4953bbabae6cccecbd5a4852519f2f91816c9f77 +Subproject commit 9f28e742ce24bc661c864f50739b20453c8f9425 diff --git a/tox.ini b/tox.ini index 42e46948..0be8ec1e 100644 --- a/tox.ini +++ b/tox.ini @@ -27,11 +27,12 @@ passenv = * usedevelop = True deps = black + codespell isort + jsondiff pylint pytest pytest-xdist - jsondiff commands = {envpython} --version pio system info