Bump hacking version

We can also drop some excludes that no longer affect us

Change-Id: Ib3e9d87c29a612e4c77212bd3a414c53ee1d9fe0
This commit is contained in:
Dr. Jens Harbott 2022-06-16 09:31:18 +02:00
parent 404db698ca
commit cdf81bb56e
2 changed files with 2 additions and 6 deletions

View File

@ -3,7 +3,7 @@
# process, which may cause wedges in the gate later. # process, which may cause wedges in the gate later.
# Hacking already pins down pep8, pyflakes and flake8 # 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 coverage!=4.4,>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD fixtures>=3.0.0 # Apache-2.0/BSD
stestr>=2.0.0 # Apache-2.0 stestr>=2.0.0 # Apache-2.0

View File

@ -152,17 +152,13 @@ ignore-path = .venv,.git,.tox,*designate/locale*,*lib/python*,*designate.egg*,ap
[flake8] [flake8]
# ignored flake8 codes: # ignored flake8 codes:
# H105 don't use author tags. We use version control instead # 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 # H404 multi line docstring should start with a summary
# H405 multi line docstring summary not separated with an empty line # H405 multi line docstring summary not separated with an empty line
# H501 Do not use locals() or self.__dict__ for string formatting. # 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 # E126 continuation line over-indented for hanging indent
# E128 continuation line under-indented for visual indent # E128 continuation line under-indented for visual indent
# W504 line break after binary operator # 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 exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject
[hacking] [hacking]