fix dependency path and requirement to enable tox

fix dependency path in controllerconfig tox.ini and
add pylint version 1.9.3 to suite python version 2.7

Change-Id: Iab4fa545802cd1f650d750e86bc1f582ae6f4fc1
Closes-Bug: #1788534
This commit is contained in:
SidneyAn 2018-08-24 08:46:22 +08:00
parent 967e4f5840
commit fec59578bc
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
pylint
pylint <=1.9.3;python_version<'3.0'
pytest
mock
coverage>=3.6
@ -6,4 +6,3 @@ PyYAML>=3.10.0 # MIT
os-testr>=0.8.0 # Apache-2.0
testresources>=0.2.4 # Apache-2.0/BSD
testrepository>=0.0.18 # Apache-2.0/BSD

View File

@ -7,7 +7,7 @@
envlist = flake8, py27, pylint
# Tox does not work if the path to the workdir is too long, so move it to /tmp
toxworkdir = /tmp/{env:USER}_cctox
wrsdir = {toxinidir}/../../../../../../..
wrsdir = {toxinidir}/../../../..
stxdir = {[tox]wrsdir}/stx
[testenv]
@ -24,7 +24,6 @@ deps = -r{toxinidir}/requirements.txt
[testenv:pylint]
basepython = python2.7
deps = {[testenv]deps}
pylint
commands = pylint {posargs} controllerconfig --rcfile=./pylint.rc --extension-pkg-whitelist=netifaces
[testenv:flake8]