Skip to content

Commit

Permalink
regenerate imports to get typing.get_type_hints version change
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Sep 24, 2022
1 parent 4a3186f commit 145e9ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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.8.2
# Using reorder-python-imports==3.8.3
REMOVALS = {
(2, 7): {'__future__': {'generators', 'nested_scopes', 'with_statement'}},
(3,): {
Expand Down Expand Up @@ -101,7 +101,6 @@
('typing_extensions', 'TYPE_CHECKING'): 'typing',
('typing_extensions', 'Text'): 'typing',
('typing_extensions', 'Type'): 'typing',
('typing_extensions', 'get_type_hints'): 'typing',
},
(3, 7): {
('mypy_extensions', 'NoReturn'): 'typing',
Expand Down Expand Up @@ -153,6 +152,7 @@
('typing.re', 'Match'): 're',
('typing.re', 'Pattern'): 're',
('typing_extensions', 'Annotated'): 'typing',
('typing_extensions', 'get_type_hints'): 'typing',
},
(3, 10): {
('typing', 'Callable'): 'collections.abc',
Expand Down

0 comments on commit 145e9ca

Please sign in to comment.