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
|
ChangeLog
|
||||||
savanna/tests/integration/config.py
|
savanna/tests/integration/config.py
|
||||||
cscope.out
|
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
|
python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:pylint]
|
[testenv:pylint]
|
||||||
commands =
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
pylint --output-format=parseable --rcfile=.pylintrc bin/savanna-api bin/savanna-manage savanna | tee pylint-report.txt
|
commands = bash tools/lintstack.sh
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
show-source = true
|
show-source = true
|
||||||
|
|
Loading…
Reference in New Issue