diff --git a/src/flake8/__init__.py b/src/flake8/__init__.py index efb711c..b3932f1 100644 --- a/src/flake8/__init__.py +++ b/src/flake8/__init__.py @@ -19,7 +19,7 @@ except ImportError: def emit(self, record): """Do nothing.""" pass -import sys +import sys # noqa: I202 LOG = logging.getLogger(__name__) LOG.addHandler(NullHandler()) diff --git a/tests/unit/test_setuptools_command.py b/tests/unit/test_setuptools_command.py index 40c9733..1c52b2a 100644 --- a/tests/unit/test_setuptools_command.py +++ b/tests/unit/test_setuptools_command.py @@ -1,6 +1,5 @@ """Module containing tests for the setuptools command integration.""" import pytest - from setuptools import dist from flake8.main import setuptools_command