forked from platformio/platformio-core
Disable core linting with Python 3.6
This commit is contained in:
1
.github/workflows/core.yml
vendored
1
.github/workflows/core.yml
vendored
@@ -33,6 +33,7 @@ jobs:
|
|||||||
pip install tox
|
pip install tox
|
||||||
|
|
||||||
- name: Python Lint
|
- name: Python Lint
|
||||||
|
if: ${{ matrix.python-version != '3.6' }}
|
||||||
run: |
|
run: |
|
||||||
tox -e lint
|
tox -e lint
|
||||||
|
|
||||||
|
@@ -4,6 +4,8 @@ output-format=colorized
|
|||||||
[MESSAGES CONTROL]
|
[MESSAGES CONTROL]
|
||||||
disable=
|
disable=
|
||||||
missing-docstring,
|
missing-docstring,
|
||||||
|
duplicate-code,
|
||||||
invalid-name,
|
invalid-name,
|
||||||
too-few-public-methods,
|
too-few-public-methods,
|
||||||
consider-using-f-string
|
consider-using-f-string,
|
||||||
|
cyclic-import
|
||||||
|
4
Makefile
4
Makefile
@@ -1,6 +1,6 @@
|
|||||||
lint:
|
lint:
|
||||||
pylint -j 6 --rcfile=./.pylintrc ./tests
|
pylint --rcfile=./.pylintrc ./tests
|
||||||
pylint -j 6 --rcfile=./.pylintrc ./platformio
|
pylint --rcfile=./.pylintrc ./platformio
|
||||||
|
|
||||||
isort:
|
isort:
|
||||||
isort ./platformio
|
isort ./platformio
|
||||||
|
4
tox.ini
4
tox.ini
@@ -41,7 +41,8 @@ commands =
|
|||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
commands =
|
commands =
|
||||||
{envpython} --version
|
{envpython} --version
|
||||||
pylint --rcfile=./.pylintrc ./platformio ./tests
|
pylint --rcfile=./.pylintrc ./platformio
|
||||||
|
pylint --rcfile=./.pylintrc ./tests
|
||||||
|
|
||||||
[testenv:testcore]
|
[testenv:testcore]
|
||||||
commands =
|
commands =
|
||||||
@@ -54,7 +55,6 @@ commands =
|
|||||||
py.test -v --basetemp="{envtmpdir}" tests/test_examples.py
|
py.test -v --basetemp="{envtmpdir}" tests/test_examples.py
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
; basepython = ~/.pyenv/versions/3.6.12/bin/python
|
|
||||||
deps =
|
deps =
|
||||||
sphinx
|
sphinx
|
||||||
sphinx_rtd_theme
|
sphinx_rtd_theme
|
||||||
|
Reference in New Issue
Block a user