Disable core linting with Python 3.6

This commit is contained in:
Ivan Kravets
2022-07-02 20:18:26 +03:00
parent d2e27f5385
commit 6c71a3bea2
4 changed files with 8 additions and 5 deletions

View File

@ -33,6 +33,7 @@ jobs:
pip install tox
- name: Python Lint
if: ${{ matrix.python-version != '3.6' }}
run: |
tox -e lint

View File

@ -4,6 +4,8 @@ output-format=colorized
[MESSAGES CONTROL]
disable=
missing-docstring,
duplicate-code,
invalid-name,
too-few-public-methods,
consider-using-f-string
consider-using-f-string,
cyclic-import

View File

@ -1,6 +1,6 @@
lint:
pylint -j 6 --rcfile=./.pylintrc ./tests
pylint -j 6 --rcfile=./.pylintrc ./platformio
pylint --rcfile=./.pylintrc ./tests
pylint --rcfile=./.pylintrc ./platformio
isort:
isort ./platformio

View File

@ -41,7 +41,8 @@ commands =
[testenv:lint]
commands =
{envpython} --version
pylint --rcfile=./.pylintrc ./platformio ./tests
pylint --rcfile=./.pylintrc ./platformio
pylint --rcfile=./.pylintrc ./tests
[testenv:testcore]
commands =
@ -54,7 +55,6 @@ commands =
py.test -v --basetemp="{envtmpdir}" tests/test_examples.py
[testenv:docs]
; basepython = ~/.pyenv/versions/3.6.12/bin/python
deps =
sphinx
sphinx_rtd_theme