summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2016-02-10 21:16:10 +0100
committerAndreas Jaeger <aj@suse.com>2016-02-10 21:16:10 +0100
commit4c0c5ce9709494428f79adacee0e78c9bbd9fac3 (patch)
tree188f44f6cdf5862ca0f30e68555bd9a6a32e2d8f /tox.ini
parent787ca741715cd65d8ba24e87d4d50efc1d5c0a20 (diff)
downloadkeystonemiddleware-4c0c5ce9709494428f79adacee0e78c9bbd9fac3.tar.gz
Make pep8 *the* linting interface
According to the PTI (=Python Test Interface, http://governance.openstack.org/reference/cti/python_cti.html), pep8 is the interface for codestyle checks. Move all tests from linters to pep8 and remove linters environment. Change-Id: I9ed8a0504c05681f96a9ad8b81c4dbaeba56c62f Depends-On: I9346e4bf8c3a50de088c6a157f0d871c0a9333a1
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 2 insertions, 9 deletions
diff --git a/tox.ini b/tox.ini
index e985a2a..591f7a4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
[tox]
minversion = 1.6
skipsdist = True
-envlist = py34,py27,linters,releasenotes
+envlist = py34,py27,pep8,releasenotes
[testenv]
usedevelop = True
@@ -14,18 +14,11 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'
-[testenv:linters]
+[testenv:pep8]
commands =
flake8
bandit -c bandit.yaml -r keystonemiddleware -n5 -p gate
-[testenv:pep8]
-whitelist_externals =
- echo
-commands =
- {[testenv:linters]commands}
- echo "Use tox -e linters instead"
-
[testenv:venv]
commands = {posargs}