X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tox.ini;h=a09a90f72b0535efdd61746068c81cedf944cc1f;hb=5c60eb4bb3b2064132f7a424f846f519012e02e6;hp=110ad15fca11431d5fd3e8df69bb49b2110a74e1;hpb=89940bb19f015b4cc57d36a1e95cf9d935293b36;p=csit.git diff --git a/tox.ini b/tox.ini index 110ad15fca..a09a90f72b 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 = copyright, new_line_length, line_length, autogen, pylint # The following is needed as tox requires setup.py by default. skipsdist = true # Just a shorthand to avoid long lines. @@ -56,15 +56,19 @@ whitelist_externals = /bin/bash # the checker has to remain non-voting. commands = bash -c "bash {[tox]checker_dir}/new_line.sh || true" +[testenv:copyright] +whitelist_externals = /bin/bash +commands = bash {[tox]checker_dir}/copyright.sh + [testenv:autogen] whitelist_externals = /bin/bash setenv = PYTHONPATH = {toxinidir} commands = bash {[tox]checker_dir}/autogen.sh -# 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 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 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