diff options
Diffstat (limited to 'pylint/checkers/python3.py')
| -rw-r--r-- | pylint/checkers/python3.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py index 75f01b2d0..61938bf96 100644 --- a/pylint/checkers/python3.py +++ b/pylint/checkers/python3.py @@ -30,6 +30,7 @@ from collections import namedtuple import re import sys import tokenize +from typing import FrozenSet import astroid from astroid import bases @@ -575,7 +576,7 @@ class Python3Checker(checkers.BaseChecker): if (3, 4) <= sys.version_info < (3, 4, 4): # Python 3.4.0 -> 3.4.3 has a bug which breaks `repr_tree()`: # https://bugs.python.org/issue23572 - _python_2_tests = frozenset() + _python_2_tests = frozenset() # type: FrozenSet[str] else: _python_2_tests = frozenset( [astroid.extract_node(x).repr_tree() for x in [ |
