X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Ftests.git;a=blobdiff_plain;f=tox.ini;h=4f67210f0fe570081968efd3d127a6f27fc468ce;hp=729a3e042eef28fcacbb983791169569cfd1db44;hb=HEAD;hpb=b9dfe0317c4935294747897dc2fd1645c4983067 diff --git a/tox.ini b/tox.ini index 729a3e0..139a716 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 @@ -57,7 +57,21 @@ deps = {[testenv]deps} -r{toxinidir}/requirements-dev.txt pylint commands = - - pylint -E robot-systest/resources + pylint -E robot-systest + + +####################################################################################### +[testenv:rflint] +changedir = {toxinidir}/robot-systest +deps = {[testenv]deps} + -r{toxinidir}/requirements-dev.txt + robotframework-lint + robotframework-robocop==4.2.2 +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 . #######################################################################################