Merge "Enable super-on-old-class pylint check"
This commit is contained in:
commit
e8bfefae3d
|
@ -25,7 +25,6 @@ disable=
|
||||||
no-method-argument,
|
no-method-argument,
|
||||||
no-self-argument,
|
no-self-argument,
|
||||||
no-value-for-parameter,
|
no-value-for-parameter,
|
||||||
super-on-old-class,
|
|
||||||
# "W" Warnings for stylistic problems or minor programming issues
|
# "W" Warnings for stylistic problems or minor programming issues
|
||||||
abstract-method,
|
abstract-method,
|
||||||
arguments-differ,
|
arguments-differ,
|
||||||
|
|
|
@ -36,6 +36,9 @@ midonet_opts = [
|
||||||
cfg.CONF.register_opts(midonet_opts, "MIDONET")
|
cfg.CONF.register_opts(midonet_opts, "MIDONET")
|
||||||
|
|
||||||
|
|
||||||
|
# Derives from `object` (via at least NeutronDbPluginV2), but pylint
|
||||||
|
# can't see that without having the midonet libraries available.
|
||||||
|
# pylint: disable=super-on-old-class
|
||||||
class MidonetPluginV2(plugin.MidonetMixin):
|
class MidonetPluginV2(plugin.MidonetMixin):
|
||||||
|
|
||||||
vendor_extensions = plugin.MidonetMixin.supported_extension_aliases
|
vendor_extensions = plugin.MidonetMixin.supported_extension_aliases
|
||||||
|
|
|
@ -123,6 +123,9 @@ class Bridge(flows.OFAgentIntegrationBridge, ovs_lib.OVSBridge):
|
||||||
self.get_datapath(retry_max)
|
self.get_datapath(retry_max)
|
||||||
|
|
||||||
|
|
||||||
|
# RyuApp derives from `object`, but pylint can't see that without
|
||||||
|
# having the ryu libraries available.
|
||||||
|
# pylint: disable=super-on-old-class
|
||||||
class OFANeutronAgentRyuApp(app_manager.RyuApp):
|
class OFANeutronAgentRyuApp(app_manager.RyuApp):
|
||||||
OFP_VERSIONS = [ryu_ofp13.OFP_VERSION]
|
OFP_VERSIONS = [ryu_ofp13.OFP_VERSION]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue