mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fix spell issues
This commit is contained in:
10
.github/workflows/core.yml
vendored
10
.github/workflows/core.yml
vendored
@ -17,10 +17,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
||||||
- uses: codespell-project/actions-codespell@v2
|
|
||||||
with:
|
|
||||||
ignore_words_list: ans,homestate,ser
|
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
@ -31,6 +27,12 @@ jobs:
|
|||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install tox
|
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
|
- name: Core System Info
|
||||||
run: |
|
run: |
|
||||||
tox -e py
|
tox -e py
|
||||||
|
5
Makefile
5
Makefile
@ -10,10 +10,13 @@ format:
|
|||||||
black ./platformio
|
black ./platformio
|
||||||
black ./tests
|
black ./tests
|
||||||
|
|
||||||
|
codespell:
|
||||||
|
codespell --skip "./build,./docs/_build" -L "AtLeast,PreProcesor,TRE,ans,dout,homestate,ser"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
pytest --verbose --exitfirst -n 6 --dist=loadscope tests --ignore tests/test_examples.py
|
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:
|
clean-docs:
|
||||||
rm -rf docs/_build
|
rm -rf docs/_build
|
||||||
|
2
docs
2
docs
Submodule docs updated: 93c46bdf3f...2a5ebc47a7
2
examples
2
examples
Submodule examples updated: 4953bbabae...9f28e742ce
3
tox.ini
3
tox.ini
@ -27,11 +27,12 @@ passenv = *
|
|||||||
usedevelop = True
|
usedevelop = True
|
||||||
deps =
|
deps =
|
||||||
black
|
black
|
||||||
|
codespell
|
||||||
isort
|
isort
|
||||||
|
jsondiff
|
||||||
pylint
|
pylint
|
||||||
pytest
|
pytest
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
jsondiff
|
|
||||||
commands =
|
commands =
|
||||||
{envpython} --version
|
{envpython} --version
|
||||||
pio system info
|
pio system info
|
||||||
|
Reference in New Issue
Block a user