X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=tox.ini;h=94dbdb06ade6a7e5ce0d80561b1187cf20c39316;hp=d2674c9798414608308f698d0925e226f03b1deb;hb=d87303d18767a9c1d9d44357d1be392f41c3b723;hpb=d598914ec9d1be351c0c15739629a910d0ff59a5;ds=sidebyside diff --git a/tox.ini b/tox.ini index d2674c9..94dbdb0 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ # limitations under the License. [tox] -envlist = cover, flake8, pylint +envlist = cover, flake8, pylint, pylinttests skipsdist=True [testenv] @@ -37,7 +37,16 @@ deps = pylint -rrequirements.txt commands = - pylint -E n2vc + pylint -E n2vc --ignore=tests + +[testenv:pylinttests] +basepython = python3 +deps = + pylint + -rrequirements.txt + -rtest-requirements.txt +commands = + pylint -E n2vc.tests [testenv:black] basepython = python3 @@ -56,7 +65,7 @@ commands = [flake8] # W503 is invalid PEP-8 -max-line-length = 88 +max-line-length = 100 show-source = True ignore = W503,E203 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,devops_stages/*,.rst