Merge "Use hacking from test-requirements"
This commit is contained in:
commit
a6020be379
5
tox.ini
5
tox.ini
@ -20,8 +20,6 @@ setenv = VIRTUAL_ENV={envdir}
|
||||
commands = bash -x {toxinidir}/setup-test-env.sh python setup.py testr --slowest --coverage --testr-args="{posargs}"
|
||||
|
||||
[testenv:pep8]
|
||||
# Install bounded pep8/pyflakes first, then let flake8 install
|
||||
deps = hacking>=0.8.0,<0.9
|
||||
commands =
|
||||
flake8
|
||||
flake8 --filename=ceilometer-* bin
|
||||
@ -39,7 +37,8 @@ commands = python setup.py build_sphinx
|
||||
commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
ignore = None
|
||||
# TODO fix H302
|
||||
ignore = H302
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,./ceilometer/openstack/common,*lib/python*,*egg,tools,nova_tests,build
|
||||
show-source = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user