summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini16
1 files changed, 3 insertions, 13 deletions
diff --git a/tox.ini b/tox.ini
index 230de34f8..b33c11349 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
[tox]
minversion = 1.6
skipsdist = True
-envlist = py34,py27,linters,docs,genconfig,releasenotes
+envlist = py34,py27,pep8,docs,genconfig,releasenotes
[testenv]
usedevelop = True
@@ -82,13 +82,13 @@ commands =
nosetests -v \
keystone/tests/unit/backend/legacy_drivers/resource/V8/sql.py
-[testenv:linters]
+[testenv:pep8]
deps =
.[bandit]
{[testenv]deps}
commands =
flake8
- # Run bash8 during linters runs to ensure violations are caught by
+ # Run bash8 during pep8 runs to ensure violations are caught by
# the check and gate queues
bashate examples/pki/gen_pki.sh
# Check that .po and .pot files are valid.
@@ -97,16 +97,6 @@ commands =
# Run security linter
bandit -c bandit.yaml -r keystone -n5 -p gate
-[testenv:pep8]
-# Previous name of linters target, kept for compatibility. The infra jobs
-# will run the linters job.
-deps = {[testenv:linters]deps}
-whitelist_externals =
- {[testenv]whitelist_externals}
- echo
-commands = {[testenv:linters]commands}
- echo "Use tox -e linters instead"
-
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'