From a3a2539a2328487d6544404b4bfab96a205bfef0 Mon Sep 17 00:00:00 2001 From: Ian Stapleton Cordasco Date: Sat, 25 Nov 2017 18:35:18 -0600 Subject: [PATCH] Fix-up new I202 violations --- src/flake8/__init__.py | 2 +- tests/unit/test_setuptools_command.py | 1 - 2 files changed, 1 insertion(+), 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