Derived from the flake8-import-conventions linter.
What it does#
Checks for member imports that should instead be accessed by importing the module.
Why is this bad?#
Consistency is good. Use a common convention for imports to make your code more readable and idiomatic.
For example, it's common to import
pd, and then access
pd.Series, rather than importing