mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
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
|
||||
|
||||
- name: Python Lint
|
||||
if: ${{ matrix.python-version != '3.6' }}
|
||||
run: |
|
||||
tox -e lint
|
||||
|
||||
|
@ -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
|
||||
|
4
Makefile
4
Makefile
@ -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
|
||||
|
4
tox.ini
4
tox.ini
@ -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
|
||||
|
Reference in New Issue
Block a user