Merge "use specific hacking rules"

This commit is contained in:
Jenkins 2014-01-16 16:25:24 +00:00 committed by Gerrit Code Review
commit d68fbfc9ed

11
tox.ini
View File

@ -39,8 +39,13 @@ commands =
commands = {posargs}
[flake8]
# TODO(dmllr): Review some of the hacking warnings and fix if applicable
# H233 Use print function, not print operator
ignore = H203,H233,H301,H302,H306,H402,H404,H703,H201
# it's not a bug that we aren't using all of hacking
# H102 -> apache2 license exists
# H103 -> license is apache
# H201 -> no bare excepts
# H501 -> don't use locals() for str formatting
# H903 -> \n not \r\n
ignore = H
select = H102, H103, H201, H501, H903
exclude = .venv,.tox,dist,doc,*egg
show-source = True