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 Add H105 using author tags Add H238 hacking no old style class Add H501 hacking no locals [1]https://github.com/openstack-dev/hacking/blob/master/setup.cfg#L30 Change-Id: I6a1f3c3ef22be0962ffb81a5da5660837552e5d7
This commit is contained in:
parent
35b8ac7c05
commit
85082c5782
@ -3,7 +3,7 @@
|
||||
# process, which may cause wedges in the gate later.
|
||||
|
||||
# hacking should be first
|
||||
hacking<0.10,>=0.9.2
|
||||
hacking<0.11,>=0.10.2
|
||||
|
||||
bashate>=0.2 # Apache-2.0
|
||||
coverage>=3.6
|
||||
|
8
tox.ini
8
tox.ini
@ -57,10 +57,10 @@ commands = python tools/lintstack.py check
|
||||
|
||||
[flake8]
|
||||
# Following checks are ignored on purpose:
|
||||
#
|
||||
# H904 wrap long lines in parentheses instead of a backslash
|
||||
# reason: removed in hacking (https://review.openstack.org/#/c/101701/)
|
||||
ignore = H904
|
||||
# H105 using author tags
|
||||
# H238 hacking no old style class
|
||||
# H501 hacking no locals
|
||||
ignore = H105,H238,H501
|
||||
builtins = _
|
||||
exclude = .venv,.tox,dist,doc,*egg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user