X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Ftests.git;a=blobdiff_plain;f=tox.ini;fp=tox.ini;h=58889d1542eff508e313c52660244ceec28e172e;hp=729a3e042eef28fcacbb983791169569cfd1db44;hb=5e001f506b744021d5ef25999c9da28cf56d8fbc;hpb=b0db4577db692b0d6c9210099c58c808cbc993c1 diff --git a/tox.ini b/tox.ini index 729a3e0..58889d1 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,7 @@ ####################################################################################### [tox] -envlist = black, cover, flake8, pylint, safety +envlist = black, cover, flake8, pylint, rflint, safety [tox:jenkins] toxworkdir = /tmp/.tox @@ -53,11 +53,26 @@ commands = ####################################################################################### [testenv:pylint] +changedir = {toxinidir}/robot-systest deps = {[testenv]deps} -r{toxinidir}/requirements-dev.txt pylint commands = - - pylint -E robot-systest/resources + pylint -E . + + +####################################################################################### +[testenv:rflint] +changedir = {toxinidir}/robot-systest +deps = {[testenv]deps} + -r{toxinidir}/requirements-dev.txt + robotframework-lint + robotframework-robocop +commands = + rflint --ignore LineTooLong --ignore TooFewTestSteps --ignore TooManyTestCases \ + --ignore TooManyTestSteps --ignore TooFewKeywordSteps \ + testsuite lib resources + robocop --configure return_status:quality_gate:E=0:W=0:I=0 --exclude 050*,0701,0923 . #######################################################################################