Python

Python

Made by DeepSource

Module imports itself PYL-W0406

Bug risk
Major

The module is importing itself. This is not recommended. Consider a module foo.py

import foo
import bar

...

Here, module foo is trying to import a module named foo.