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 pip install tox
- name: Python Lint - name: Python Lint
if: ${{ matrix.python-version != '3.6' }}
run: | run: |
tox -e lint tox -e lint

View File

@@ -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

View File

@@ -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

View File

@@ -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