summaryrefslogtreecommitdiff
path: root/pylint/checkers/utils.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-12-04 14:34:02 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2018-12-04 14:34:02 +0100
commit95bc362f59476a41538a8d17e3232ad893e004ff (patch)
treeec3c85f69c5495c1d9b3c96974009a391bfac31a /pylint/checkers/utils.py
parent91f7a0f07ac009240dc12e567c5f8cbc898e81d9 (diff)
downloadpylint-git-95bc362f59476a41538a8d17e3232ad893e004ff.tar.gz
Remove unused imports from checkers/utils.py, including the missing typing.Type. Close #2632
Diffstat (limited to 'pylint/checkers/utils.py')
-rw-r--r--pylint/checkers/utils.py16
1 files changed, 2 insertions, 14 deletions
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py
index 98a892f90..36aa8791f 100644
--- a/pylint/checkers/utils.py
+++ b/pylint/checkers/utils.py
@@ -27,28 +27,16 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
-# pylint: disable=W0611
"""some functions that may be useful for various checkers
"""
import builtins
-from functools import lru_cache, partial, singledispatch
+from functools import lru_cache, partial
import itertools
import numbers
import re
import sys
import string
-from typing import (
- Optional,
- Iterable,
- Tuple,
- Callable,
- Set,
- Union,
- Match,
- Dict,
- List,
- Type,
-)
+from typing import Optional, Iterable, Tuple, Callable, Set, Union, Match, Dict, List
import _string # pylint: disable=wrong-import-position, wrong-import-order
import astroid