diff --git a/tox.ini b/tox.ini index 2c92d3ed56..2c3cb4f80f 100644 --- a/tox.ini +++ b/tox.ini @@ -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