Add pylint Tox environment
Change-Id: If0b632e909a115f6af1a7fe7aef3a29f969c8100
This commit is contained in:
parent
d6f70f732c
commit
48795f0a47
9
tox.ini
9
tox.ini
|
@ -76,6 +76,15 @@ commands =
|
|||
flake8 --max-complexity 10
|
||||
|
||||
|
||||
[testenv:pylint]
|
||||
basepython = {[testenv:pep8]basepython}
|
||||
deps = {[testenv:pep8]deps}
|
||||
envdir = {toxworkdir}/pep8
|
||||
commands =
|
||||
pylint -j0 --max-line-length=80 -E -e W,E \
|
||||
-d unused-import,broad-except,fixme tobiko
|
||||
|
||||
|
||||
[testenv:linters]
|
||||
|
||||
basepython = {[testenv:pep8]basepython}
|
||||
|
|
Loading…
Reference in New Issue