summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2016-02-10 21:20:37 +0100
committerAndreas Jaeger <aj@suse.com>2016-02-10 21:20:37 +0100
commitcdcddc526291e99d1b64a15006c76209ff7e4bd8 (patch)
treeabd610ad3647abd7eef76be35a6c9a59b39da63a /tox.ini
parent81f7fea507025229ba258d7ec7467867fe014438 (diff)
downloadpython-keystoneclient-cdcddc526291e99d1b64a15006c76209ff7e4bd8.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. Change-Id: If50b7471112151245d383b4a1d0056ce9041adf2 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 d1b4b7a..e6b93b8 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
@@ -16,18 +16,11 @@ commands = find . -type f -name "*.pyc" -delete
python setup.py testr --slowest --testr-args='{posargs}'
whitelist_externals = find
-[testenv:linters]
+[testenv:pep8]
commands =
flake8
bandit -c bandit.yaml -r keystoneclient -n5 -p gate
-[testenv:pep8]
-whitelist_externals =
- echo
-commands =
- {[testenv:linters]commands}
- echo "Use tox -e linters instead"
-
[testenv:venv]
commands = {posargs}