Importing names and not using them can be a source of confusion and lead to maintainability issues.
Such imports should be removed.
Noncompliant code example
from mymodule import foo, bar, qix # Noncompliant: bar is unused
foo()
qix()
Compliant solution
from mymodule import foo, qix
foo()
qix()