Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regenerate imports to get typing.get_type_hints version change #710

Merged
merged 1 commit into from
Sep 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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