Skip to content

Commit c0ecd70

Browse files
nickdrozdjacobtylerwalls
authored andcommitted
Cut unused typing names
1 parent a285f8e commit c0ecd70

File tree

1 file changed

+0
-57
lines changed

1 file changed

+0
-57
lines changed

pylint/checkers/variables.py

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -54,63 +54,6 @@
5454
METACLASS_NAME_TRANSFORMS = {"_py_abc": "abc"}
5555
BUILTIN_RANGE = "builtins.range"
5656
TYPING_MODULE = "typing"
57-
TYPING_NAMES = frozenset(
58-
{
59-
"Any",
60-
"Callable",
61-
"ClassVar",
62-
"Generic",
63-
"Optional",
64-
"Tuple",
65-
"Type",
66-
"TypeVar",
67-
"Union",
68-
"AbstractSet",
69-
"ByteString",
70-
"Container",
71-
"ContextManager",
72-
"Hashable",
73-
"ItemsView",
74-
"Iterable",
75-
"Iterator",
76-
"KeysView",
77-
"Mapping",
78-
"MappingView",
79-
"MutableMapping",
80-
"MutableSequence",
81-
"MutableSet",
82-
"Sequence",
83-
"Sized",
84-
"ValuesView",
85-
"Awaitable",
86-
"AsyncIterator",
87-
"AsyncIterable",
88-
"Coroutine",
89-
"Collection",
90-
"AsyncGenerator",
91-
"AsyncContextManager",
92-
"Reversible",
93-
"SupportsAbs",
94-
"SupportsBytes",
95-
"SupportsComplex",
96-
"SupportsFloat",
97-
"SupportsInt",
98-
"SupportsRound",
99-
"Counter",
100-
"Deque",
101-
"Dict",
102-
"DefaultDict",
103-
"List",
104-
"Set",
105-
"FrozenSet",
106-
"NamedTuple",
107-
"Generator",
108-
"AnyStr",
109-
"Text",
110-
"Pattern",
111-
"BinaryIO",
112-
}
113-
)
11457

11558
DICT_TYPES = (
11659
astroid.objects.DictValues,

0 commit comments

Comments
 (0)