summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stapleton Cordasco <graffatcolmingov@gmail.com>2017-11-25 18:35:18 -0600
committerIan Stapleton Cordasco <graffatcolmingov@gmail.com>2017-11-26 11:25:06 -0600
commita3a2539a2328487d6544404b4bfab96a205bfef0 (patch)
treec960d11fa58ee2c26fef756f158ea422e8559250
parent9bea7576ac33a8e4f72f87ffa81dfa10256fca6e (diff)
downloadflake8-a3a2539a2328487d6544404b4bfab96a205bfef0.tar.gz
Fix-up new I202 violations
-rw-r--r--src/flake8/__init__.py2
-rw-r--r--tests/unit/test_setuptools_command.py1
2 files changed, 1 insertions, 2 deletions
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