Adding lintstack to support pylint testing.
* it should be carefully configured in future Change-Id: I35f21e7fbfab3c5fa07cd3652f47469bb2939abd
This commit is contained in:
parent
c8a31c93c5
commit
77c26cadee
|
@ -37,3 +37,5 @@ etc/savanna.conf
|
|||
ChangeLog
|
||||
savanna/tests/integration/config.py
|
||||
cscope.out
|
||||
tools/lintstack.head.py
|
||||
tools/pylint_exceptions
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -41,8 +41,8 @@ commands =
|
|||
python setup.py build_sphinx
|
||||
|
||||
[testenv:pylint]
|
||||
commands =
|
||||
pylint --output-format=parseable --rcfile=.pylintrc bin/savanna-api bin/savanna-manage savanna | tee pylint-report.txt
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
commands = bash tools/lintstack.sh
|
||||
|
||||
[flake8]
|
||||
show-source = true
|
||||
|
|
Loading…
Reference in New Issue