diff options
author | Monty Taylor <mordred@inaugust.com> | 2013-05-17 12:54:12 -0700 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2013-05-17 12:54:12 -0700 |
commit | a333be8fe4ec0abc49e85d0c689b8ffba2a473eb (patch) | |
tree | ea6a8037626de002ce60e8e5a82f1053bdb50a40 /tox.ini | |
parent | 186c49409c841bd2bba50ea8629ec214a7fb9627 (diff) | |
download | nova-a333be8fe4ec0abc49e85d0c689b8ffba2a473eb.tar.gz |
Switch to flake8+hacking.
Remove a bunch of local custom scripts. Replace with configurable
external tools.
Use local hacking checks for nova specifics.
Change-Id: I75a01375ba0ec36d2ff05abc47abe0a3f225eda5
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 19 |
1 files changed, 12 insertions, 7 deletions
@@ -18,18 +18,15 @@ sitepackages = True downloadcache = ~/cache/pip [testenv:pep8] -commands = bash tools/run_pep8.sh +sitepackages = False +commands = + flake8 + flake8 --filename=nova* bin [testenv:pylint] setenv = VIRTUAL_ENV={envdir} -deps = -r{toxinidir}/tools/pip-requires - pylint==0.26.0 commands = bash tools/lintstack.sh -[testenv:pyflakes] -deps = pyflakes -commands = python tools/flakes.py nova - [testenv:cover] # Also do not run test_coverage_ext tests while gathering coverage as those # tests conflict with coverage. @@ -41,3 +38,11 @@ commands = [testenv:venv] commands = {posargs} + +[flake8] +ignore = E12,E711,E721,E712,H302,H303,H403,H404,F +builtins = _ +exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,plugins,tools + +[hacking] +local-check-factory = nova.hacking.checks.factory |