diff --git a/test-requirements.txt b/test-requirements.txt index 09d939bf9..673ad81b2 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,7 +3,7 @@ # process, which may cause wedges in the gate later. # Hacking already pins down pep8, pyflakes and flake8 -hacking>=3.0.1,<3.1.0 # Apache-2.0 +hacking>=4.1.0,<4.2.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD stestr>=2.0.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index ed3ebe3dc..8e530723c 100644 --- a/tox.ini +++ b/tox.ini @@ -152,17 +152,13 @@ ignore-path = .venv,.git,.tox,*designate/locale*,*lib/python*,*designate.egg*,ap [flake8] # ignored flake8 codes: # H105 don't use author tags. We use version control instead -# H302 import only modules -# H238 old style class declaration, use new style (inherit from `object`) -# H402 one line docstring needs punctuation # H404 multi line docstring should start with a summary # H405 multi line docstring summary not separated with an empty line # H501 Do not use locals() or self.__dict__ for string formatting. -# H904 Wrap long lines in parentheses instead of a backslash # E126 continuation line over-indented for hanging indent # E128 continuation line under-indented for visual indent # W504 line break after binary operator -ignore = H105,H302,H238,H402,H404,H405,H501,H904,E126,E128,W504 +ignore = H105,H404,H405,H501,E126,E128,W504 exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject [hacking]