X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=RO-SDN-onos_openflow%2Ftox.ini;h=61778145ec824c2478793ced7ff3c72c90940cee;hp=00b45857df8e69fbf31bf7bd3b3dc26f43bef82a;hb=refs%2Ftags%2Frelease-v8.0-start;hpb=57dadcfd0fcf3c8e933602e2fb57f32658d9c845 diff --git a/RO-SDN-onos_openflow/tox.ini b/RO-SDN-onos_openflow/tox.ini index 00b45857..61778145 100644 --- a/RO-SDN-onos_openflow/tox.ini +++ b/RO-SDN-onos_openflow/tox.ini @@ -14,18 +14,20 @@ ## [tox] -envlist = py3 -toxworkdir={homedir}/.tox +envlist = flake8 +toxworkdir={toxinidir}/../.tox [testenv] basepython = python3 -install_command = python3 -m pip install -r requirements.txt -U {opts} {packages} +install_command = python3 -m pip install -U {opts} {packages} # deps = -r{toxinidir}/test-requirements.txt commands=python3 -m unittest discover -v [testenv:flake8] basepython = python3 deps = flake8 + -r{toxinidir}/requirements.txt +install_command = python3 -m pip install -U {opts} {packages} commands = flake8 osm_rosdn_onosof --max-line-length 120 \ --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,E226,W504