From 145e9cad6059cfc371852a34af31f355c42fb18a Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 24 Sep 2022 17:33:22 -0400 Subject: [PATCH] regenerate imports to get typing.get_type_hints version change --- pyupgrade/_plugins/imports.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyupgrade/_plugins/imports.py b/pyupgrade/_plugins/imports.py index 9428595d..31e977c4 100644 --- a/pyupgrade/_plugins/imports.py +++ b/pyupgrade/_plugins/imports.py @@ -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,): { @@ -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', @@ -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',