consider-using-from-import / R0402ΒΆ

Message emitted:

Use 'from %s import %s' instead

Description:

Emitted when a submodule of a package is imported and aliased with the same name. E.g., instead of ``import concurrent.futures as futures`` use ``from concurrent import futures``

Created by imports checker