summaryrefslogtreecommitdiff
path: root/pylint/checkers/refactoring.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2019-03-09 11:22:36 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2019-03-20 09:07:35 +0100
commit5ab140ac3b3dda6f32e0f73aeec09abf015ea30f (patch)
treee0f633c7e63f7e0183c676c4d9e94d7986309b88 /pylint/checkers/refactoring.py
parenta422e9750843f3b41a6919b9a5fa2c7d54593394 (diff)
downloadpylint-git-5ab140ac3b3dda6f32e0f73aeec09abf015ea30f.tar.gz
Style - Apply isort on all apllicable files
Diffstat (limited to 'pylint/checkers/refactoring.py')
-rw-r--r--pylint/checkers/refactoring.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/pylint/checkers/refactoring.py b/pylint/checkers/refactoring.py
index 6a349c067..cab521aaa 100644
--- a/pylint/checkers/refactoring.py
+++ b/pylint/checkers/refactoring.py
@@ -22,21 +22,18 @@
"""Looks for code which can be refactored."""
import builtins
-from functools import reduce
-
import collections
import itertools
import tokenize
+from functools import reduce
import astroid
from astroid import decorators
-from pylint import interfaces
-from pylint import checkers
+from pylint import checkers, interfaces
from pylint import utils as lint_utils
from pylint.checkers import utils
-
KNOWN_INFINITE_ITERATORS = {"itertools.count"}