← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1431096] [NEW] pylint: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)

 

Public bug reported:

pylint raises false positive warning as follows from version 1.4.2.

> ************* Module neutron.agent.l3.event_observers
> W: 27,15: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)

** Affects: neutron
     Importance: Undecided
         Status: Invalid

** Changed in: neutron
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1431096

Title:
  pylint: Using type() instead of isinstance() for a typecheck.
  (unidiomatic-typecheck)

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  pylint raises false positive warning as follows from version 1.4.2.

  > ************* Module neutron.agent.l3.event_observers
  > W: 27,15: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1431096/+subscriptions


Follow ups

References