unused-import / W0611ΒΆ

Message emitted:

Unused %s

Description:

Used when an imported module or variable is not used.

Problematic code:

from logging import getLogger
from pathlib import Path  # [unused-import]

LOGGER = getLogger(__name__)

Correct code:

from logging import getLogger

LOGGER = getLogger(__name__)

Created by the variables checker.