Skip to content

Commit

Permalink
Regenerate typing import replacements using latest reorder-python-imp…
Browse files Browse the repository at this point in the history
…orts
  • Loading branch information
AlexWaygood committed Jun 7, 2024
1 parent 860f770 commit 7914830
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions pyupgrade/_plugins/imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from pyupgrade._token_helpers import indented_amount

# GENERATED VIA generate-imports
# Using reorder-python-imports==3.12.0
# Using reorder-python-imports==3.13.0
REMOVALS = {
(3,): {
'__future__': {
Expand Down Expand Up @@ -99,12 +99,10 @@
('typing_extensions', 'ClassVar'): 'typing',
('typing_extensions', 'Collection'): 'typing',
('typing_extensions', 'Container'): 'typing',
('typing_extensions', 'ContextManager'): 'typing',
('typing_extensions', 'Coroutine'): 'typing',
('typing_extensions', 'DefaultDict'): 'typing',
('typing_extensions', 'Dict'): 'typing',
('typing_extensions', 'FrozenSet'): 'typing',
('typing_extensions', 'Generator'): 'typing',
('typing_extensions', 'Generic'): 'typing',
('typing_extensions', 'Hashable'): 'typing',
('typing_extensions', 'IO'): 'typing',
Expand Down Expand Up @@ -138,8 +136,6 @@
},
(3, 7): {
('mypy_extensions', 'NoReturn'): 'typing',
('typing_extensions', 'AsyncContextManager'): 'typing',
('typing_extensions', 'AsyncGenerator'): 'typing',
('typing_extensions', 'ChainMap'): 'typing',
('typing_extensions', 'Counter'): 'typing',
('typing_extensions', 'Deque'): 'typing',
Expand All @@ -150,8 +146,6 @@
('mypy_extensions', 'TypedDict'): 'typing',
('typing_extensions', 'Final'): 'typing',
('typing_extensions', 'OrderedDict'): 'typing',
('typing_extensions', 'SupportsIndex'): 'typing',
('typing_extensions', 'runtime_checkable'): 'typing',
},
(3, 9): {
('typing', 'AsyncGenerator'): 'collections.abc',
Expand Down Expand Up @@ -217,15 +211,14 @@
},
(3, 12): {
('typing_extensions', 'NamedTuple'): 'typing',
('typing_extensions', 'Protocol'): 'typing',
('typing_extensions', 'SupportsAbs'): 'typing',
('typing_extensions', 'SupportsBytes'): 'typing',
('typing_extensions', 'SupportsComplex'): 'typing',
('typing_extensions', 'SupportsFloat'): 'typing',
('typing_extensions', 'SupportsIndex'): 'typing',
('typing_extensions', 'SupportsInt'): 'typing',
('typing_extensions', 'SupportsRound'): 'typing',
('typing_extensions', 'TypeAliasType'): 'typing',
('typing_extensions', 'TypedDict'): 'typing',
('typing_extensions', 'Unpack'): 'typing',
('typing_extensions', 'dataclass_transform'): 'typing',
('typing_extensions', 'override'): 'typing',
Expand Down

0 comments on commit 7914830

Please sign in to comment.