X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tox.ini;h=2ad02e3fec595468e594ba509e55b074a78f7c3d;hp=6413c953078eb2ccc39a844158b48321e9c25345;hb=44a12d1a616f4ffd254646c3104b4ed50761ebfb;hpb=6f082130e508e151bb8e92ce459a10b05b3c82b8 diff --git a/tox.ini b/tox.ini index 6413c95307..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,13 +61,18 @@ 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 license checker. # TODO: Create voting "pylint violations should not increase" checker. -# TODO: Create voting "linelength 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 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 # to override line check. # TODO: You get the idea, replace line check with something smarter -# wherever possible. \ No newline at end of file +# wherever possible.