X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=RO-SDN-onos_openflow%2Ftox.ini;h=a9f868824dafb351baaea067e6c8f096cc717769;hp=00b45857df8e69fbf31bf7bd3b3dc26f43bef82a;hb=2346095e8f8d980c071592db4eac04fc3ff20699;hpb=ed3e4d4fc2819e425bb8b165e43fcbac259d3f1b diff --git a/RO-SDN-onos_openflow/tox.ini b/RO-SDN-onos_openflow/tox.ini index 00b45857..a9f86882 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