diff --git a/.pylintrc b/.pylintrc index d343d72a641..28f6f7940f0 100644 --- a/.pylintrc +++ b/.pylintrc @@ -24,7 +24,6 @@ disable= no-member, no-method-argument, no-self-argument, - not-callable, no-value-for-parameter, super-on-old-class, too-few-format-args, diff --git a/neutron/agent/securitygroups_rpc.py b/neutron/agent/securitygroups_rpc.py index 7681b31ead2..fe678510601 100644 --- a/neutron/agent/securitygroups_rpc.py +++ b/neutron/agent/securitygroups_rpc.py @@ -197,7 +197,8 @@ class SecurityGroupAgentRpcMixin(object): "or configured as NoopFirewallDriver."), func.__name__) else: - return func(self, *args, **kwargs) + return func(self, # pylint: disable=not-callable + *args, **kwargs) return decorated_function @skip_if_noopfirewall_or_firewall_disabled diff --git a/neutron/plugins/ml2/drivers/cisco/apic/mechanism_apic.py b/neutron/plugins/ml2/drivers/cisco/apic/mechanism_apic.py index c9ef932026b..661b8690885 100644 --- a/neutron/plugins/ml2/drivers/cisco/apic/mechanism_apic.py +++ b/neutron/plugins/ml2/drivers/cisco/apic/mechanism_apic.py @@ -79,6 +79,7 @@ class APICMechanismDriver(api.MechanismDriver): inst.synchronizer = ( APICMechanismDriver.get_base_synchronizer(inst)) inst.synchronizer.sync_base() + # pylint: disable=not-callable return f(inst, *args, **kwargs) return inner diff --git a/neutron/services/l3_router/l3_apic.py b/neutron/services/l3_router/l3_apic.py index c4139a65103..82ecb706cc7 100644 --- a/neutron/services/l3_router/l3_apic.py +++ b/neutron/services/l3_router/l3_apic.py @@ -63,6 +63,7 @@ class ApicL3ServicePlugin(db_base_plugin_v2.NeutronDbPluginV2, mechanism_apic.APICMechanismDriver. get_router_synchronizer(inst)) inst.synchronizer.sync_router() + # pylint: disable=not-callable return f(inst, *args, **kwargs) return inner