Enable F403 and F999 check
* F403 has already been fix in https://review.openstack.org/#/c/38435/. * This patch fixes the remaining F999 issue. Change-Id: Id484a577973bb56168b6d85a5fc909a471e1128c
This commit is contained in:
parent
c6d02d6be4
commit
d455336685
@ -55,9 +55,9 @@ class TestData(object):
|
||||
>>> import glance_data
|
||||
>>> TEST = TestData(glance_data.data)
|
||||
>>> TEST.images.list()
|
||||
... [<Image: visible_image>, <Image: invisible_image>]
|
||||
[<Image: visible_image>, <Image: invisible_image>]
|
||||
>>> TEST.images.first()
|
||||
... <Image: visible_image>
|
||||
<Image: visible_image>
|
||||
|
||||
You can load as little or as much data as you like as long as the loaders
|
||||
don't conflict with each other.
|
||||
|
4
tox.ini
4
tox.ini
@ -35,10 +35,8 @@ exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,p
|
||||
# E126 continuation line over-indented for hanging indent
|
||||
# E127 continuation line over-indented for visual indent
|
||||
# E128 continuation line under-indented for visual indent
|
||||
# F403 'from <smth> import *' used; unable to detect undefined names
|
||||
# F999 syntax error in doctest
|
||||
# H102 Apache 2.0 license header not found
|
||||
# H4xx docstrings
|
||||
# H701 empty localization string
|
||||
# H702 Formatting operation should be outside of localization method call
|
||||
ignore = E126,E127,E128,F403,F999,H102,H4,H701,H702
|
||||
ignore = E126,E127,E128,H102,H4,H701,H702
|
||||
|
Loading…
x
Reference in New Issue
Block a user