diff options
author | Andreas Jaeger <aj@suse.com> | 2016-01-18 21:54:29 +0100 |
---|---|---|
committer | Andreas Jaeger <aj@suse.com> | 2016-01-18 21:54:29 +0100 |
commit | 0a0419d2b8a5580fbdce9a673b132af5fa0c4d57 (patch) | |
tree | d5d194c80a672d3f59a680622488c8c531360da2 /tox.ini | |
parent | 04f9f33b4b6079d39c3feea0b1ec1211a1de6a04 (diff) | |
download | python-keystoneclient-0a0419d2b8a5580fbdce9a673b132af5fa0c4d57.tar.gz |
Merge pep8 and bandit into linters
Create new linters environment consisting of pep8 and bandit.
Keep pep8 as an alias for linters and add a message when invoked.
Once this change is in, the infra job can be changed to only run
linters job, this allows to run one less job for each change.
Change-Id: Ib15be94491232d63a345d6fc19869095a2537310
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,7 +1,7 @@ [tox] minversion = 1.6 skipsdist = True -envlist = py34,py27,pep8,bandit,releasenotes +envlist = py34,py27,linters,releasenotes [testenv] usedevelop = True @@ -16,9 +16,17 @@ commands = find . -type f -name "*.pyc" -delete python setup.py testr --slowest --testr-args='{posargs}' whitelist_externals = find -[testenv:pep8] +[testenv:linters] commands = flake8 + bandit -c bandit.yaml -r keystoneclient -n5 -p keystone_conservative + +[testenv:pep8] +whitelist_externals = + echo +commands = + {[testenv:linters]commands} + echo "Use tox -e linters instead" [testenv:venv] commands = {posargs} |