aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-07-12 15:02:28 +0000
committerPeter Mikus <pmikus@cisco.com>2019-07-19 16:35:26 +0000
commit44a12d1a616f4ffd254646c3104b4ed50761ebfb (patch)
tree4d8472f97e555dd8ff8e9fbac6f2098d223823eb /tox.ini
parentfc7fbe37baaaa82f751757f75491e2a29db5176e (diff)
TOX: Naming conventions
Change-Id: I038d90fc481e5f74085d0fe6165b12769d98e8a1 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 3d4f01a56c..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,6 +61,11 @@ 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.