diff options
author | Kiall Mac Innes <kiall@hp.com> | 2013-06-09 15:06:11 +0100 |
---|---|---|
committer | Kiall Mac Innes <kiall@hp.com> | 2013-06-09 15:06:11 +0100 |
commit | dbd861712228c0e5cb8b959c0b75b76cca66c156 (patch) | |
tree | 07ff84fb40280422bf60fae5d7e613cb04bc2d78 /tox.ini | |
parent | 72bc53b67cb3d8829247d1e631bdf7b198a4206e (diff) | |
download | python-designateclient-dbd861712228c0e5cb8b959c0b75b76cca66c156.tar.gz |
Add Hacking checks
Change-Id: I5435e83a8dbe3c3273b59ecb3c5f1be26c9bec96
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -1,8 +1,9 @@ [tox] -envlist = py26,py27,pep8 +envlist = py26,py27,flake8 minversion = 1.4.0 [testenv] +sitepackages = False setenv = VIRTUAL_ENV={envdir} LANG=en_US.UTF-8 LANGUAGE=en_US:en @@ -11,15 +12,19 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py testr --testr-args='{posargs}' -sitepackages = False - [tox:jenkins] downloadcache = ~/cache/pip +[testenv:flake8] +commands = flake8 + [testenv:pep8] commands = flake8 +[testenv:pyflakes] +commands = flake8 + [testenv:cover] commands = python setup.py testr --coverage --testr-args='{posargs}' @@ -27,6 +32,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}' commands = {posargs} [flake8] -ignore = E12,E711,E721,E712,F,H302 -show-source = True +ignore = H302,H306,H401,H402,H404 +builtins = _ exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools |