File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 1212 from astroid .nodes import Function as FunctionDef
1313 from astroid .nodes import Getattr as Attribute
1414
15- # pylint 2.04->2.2 : YES was renamed to Uninferable, then YES became deprecated, then was removed
16- try :
17- from astroid .bases import YES as Uninferable
18- except ImportError :
19- try :
20- from astroid .util import YES as Uninferable
21- except ImportError :
22- from astroid .util import Uninferable
23-
2415import pylint
2516
2617# pylint before version 2.3 does not support load_configuration() hook.
Original file line number Diff line number Diff line change 33import sys
44
55import astroid
6+ from astroid import Uninferable
67from astroid .bases import Instance
78from astroid .exceptions import InferenceError
89from astroid .nodes import ClassDef
910
10- from pylint_django .compat import Uninferable
11-
1211PY3 = sys .version_info >= (3 , 0 ) # TODO: pylint_django doesn't support Py2 any more
1312
1413
You can’t perform that action at this time.
0 commit comments