X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tox.ini;h=2ad02e3fec595468e594ba509e55b074a78f7c3d;hp=5fc3172c1a97686efb7d8a3c63ec88ba33ecd077;hb=71151aa84d7e9c2da3b22789535aefb1f381ff87;hpb=5e6145a4260ffce1c302e94b9b241851f90838e1 diff --git a/tox.ini b/tox.ini index 5fc3172c1a..2ad02e3fec 100644 --- a/tox.ini +++ b/tox.ini @@ -25,7 +25,7 @@ # will execute only checks defined in "pylint" tox environment. [tox] -envlist = new_line_length, line_length, autogen, pylint +envlist = new_line_length, line_length, autogen, pylint, tc_naming # The following is needed as tox requires setup.py by default. skipsdist = true # Just a shorthand to avoid long lines. @@ -61,12 +61,15 @@ whitelist_externals = /bin/bash setenv = PYTHONPATH = {toxinidir} commands = bash {[tox]checker_dir}/autogen.sh +[testenv:tc_naming] +whitelist_externals = /bin/bash +# Fix all TC namings and remove the " || true" workaround. +commands = bash -c "bash {[tox]checker_dir}/tc_naming.sh || true" + +# TODO: Migrate current docs check here. +# TODO: Create voting "pylint violations should not increase" checker. # TODO: Create voting checker to reject suites with Force Tags of other suite. # TODO: Create voting checker against tags not in tag_documentation.rst file. -# TODO: Create voting "pylint violations should not increase" checker. -# TODO: Figure out how to make new_line checker voting. -# TODO: Migrate current docs check here. -# TODO: Create license checker. # TODO: Create Robot suite Documentation checker (backslash if not next mark). # TODO: Create .yaml specific checker, so people can override long line check. # TODO: Create .rst specific checker, if there is one allowing