Clean up removed hacking rule from [flake8] ignore lists
We bump hacking>=0.10.0, and hacking removed some rules, for the full list of rules please see [1]. So don't need them any more. Hacking related commits: Remove H904 in commit b1fe19ebebe47a36b905d709467f5e82521bbd96 Remove H803 in commit f01ce4fd822546cbd52a0aedc49184bddbfe1b10 Remove H307 in commit ec4833b206c23b0b6f9c6b101c70ab925a5e9c67 Remove H305 in commit 8f1fcbdb9aa4fc61349e5e879153c722195b1233 [1]https://github.com/openstack-dev/hacking/blob/master/setup.cfg#L30 Change-Id: I9ef068dd38ff2814ae1043ec3b900e40dbf119ca
This commit is contained in:
parent
74aad3a2ac
commit
0add6c6406
|
@ -2,7 +2,7 @@
|
|||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
# Hacking already pins down pep8, pyflakes and flake8
|
||||
hacking<0.10,>=0.9.2
|
||||
hacking<0.11,>=0.10.0
|
||||
coverage>=3.6
|
||||
discover
|
||||
fixtures>=1.3.1
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -34,13 +34,13 @@ commands = {posargs}
|
|||
|
||||
[flake8]
|
||||
# ignored flake8 codes:
|
||||
# H105 use author tags
|
||||
# H302 import only modules
|
||||
# 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
|
||||
# H904 Wrap long lines in parentheses instead of a backslash
|
||||
# See cueclient for other ignored codes that may apply here
|
||||
|
||||
ignore = H302,H402,H404,H405,H904
|
||||
ignore = H105,H302,H402,H404,H405
|
||||
builtins = _
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
|
||||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools
|
||||
|
|
Loading…
Reference in New Issue