enum.Enum
type is blindly assigned to "Enum" of other modules
#5719
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
inference
Lib specific 💅
This affect the code from a particular library
Needs astroid update
Needs an astroid update (probably a release too) before being mergable
Needs investigation 🔬
A bug or crash where it's not immediately obvious what is happenning
Bug description
For example, the prometheus_client module has an
Enum
class. Pylint blindly assumes that references toprometheus_client.Enum
are of typeenum.Enum
, and issues incorrect warnings.Command used
Pylint output
Expected behavior
no warnings
Pylint version
Additional dependencies
prometheus_client==0.8.0
The text was updated successfully, but these errors were encountered: