Skip to content

Commit

Permalink
Cut unused typing names
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdrozd committed Sep 27, 2024
1 parent 7100402 commit 208b434
Showing 1 changed file with 0 additions and 57 deletions.
57 changes: 0 additions & 57 deletions pylint/checkers/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,63 +54,6 @@
METACLASS_NAME_TRANSFORMS = {"_py_abc": "abc"}
BUILTIN_RANGE = "builtins.range"
TYPING_MODULE = "typing"
TYPING_NAMES = frozenset(
{
"Any",
"Callable",
"ClassVar",
"Generic",
"Optional",
"Tuple",
"Type",
"TypeVar",
"Union",
"AbstractSet",
"ByteString",
"Container",
"ContextManager",
"Hashable",
"ItemsView",
"Iterable",
"Iterator",
"KeysView",
"Mapping",
"MappingView",
"MutableMapping",
"MutableSequence",
"MutableSet",
"Sequence",
"Sized",
"ValuesView",
"Awaitable",
"AsyncIterator",
"AsyncIterable",
"Coroutine",
"Collection",
"AsyncGenerator",
"AsyncContextManager",
"Reversible",
"SupportsAbs",
"SupportsBytes",
"SupportsComplex",
"SupportsFloat",
"SupportsInt",
"SupportsRound",
"Counter",
"Deque",
"Dict",
"DefaultDict",
"List",
"Set",
"FrozenSet",
"NamedTuple",
"Generator",
"AnyStr",
"Text",
"Pattern",
"BinaryIO",
}
)

DICT_TYPES = (
astroid.objects.DictValues,
Expand Down

0 comments on commit 208b434

Please sign in to comment.