Bump hacking to 0.9.x

Hacking 0.9.0 had a minor bug so require 0.9.2 or higher.

In order to keep this patch to just a requirements bump, ignore new and
stricter hacking rules that are being triggered. Fixing up the code and
turning these on is out of scope of this patch and is for future patches.

Change-Id: I64f46c92e49625a519c902d402be94c914c50816
This commit is contained in:
shuangtai 2014-06-11 14:21:24 +08:00
parent a7bf563696
commit 0600d3877f
2 changed files with 12 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# Hacking already pins down pep8, pyflakes and flake8
hacking>=0.8.0,<0.9
hacking>=0.9.2,<0.10
Babel>=1.3
coverage>=3.6
discover

12
tox.ini
View File

@ -37,7 +37,17 @@ commands = python setup.py build_sphinx
commands = {posargs}
[flake8]
ignore = None
# E126 continuation line over-indented for hanging indent
# E128 continuation line under-indented for visual indent
# E251 unexpected spaces around keyword / parameter equals
# E265 block comment should start with #
# F402 import module shadowed by loop variable
# H104 file contains nothing but comments
# H305 imports not grouped correctly
# H307 like imports should be grouped together
# H405 multi line docstring summary not separated with an empty line
# H904 Wrap long lines in parentheses instead of a backslash
ignore = E126,E128,E251,E265,F402,H104,H305,H307,H405,H904
builtins = _
exclude=.venv,.git,.tox,dist,doc,./ceilometer/openstack/common,*lib/python*,*egg,tools,nova_tests,build
show-source = True