diff --git a/reorder_python_imports.py b/reorder_python_imports.py index df8b52f..e048fe5 100644 --- a/reorder_python_imports.py +++ b/reorder_python_imports.py @@ -419,9 +419,9 @@ def _fix_file( # GENERATED VIA generate-typing-rewrite-info # Using: -# flake8-typing-imports==1.15.0 +# flake8-typing-imports==1.16.0 # mypy-extensions==1.0.0 -# typing-extensions==4.12.1 +# typing-extensions==4.12.2 REPLACES[(3, 6)].update(( 'typing_extensions=typing:AbstractSet', 'typing_extensions=typing:AnyStr', @@ -526,6 +526,23 @@ def _fix_file( 'typing_extensions=typing:dataclass_transform', 'typing_extensions=typing:override', )) +REPLACES[(3, 13)].update(( + 'typing_extensions=typing:AsyncContextManager', + 'typing_extensions=typing:AsyncGenerator', + 'typing_extensions=typing:ContextManager', + 'typing_extensions=typing:Generator', + 'typing_extensions=typing:NoDefault', + 'typing_extensions=typing:ParamSpec', + 'typing_extensions=typing:Protocol', + 'typing_extensions=typing:ReadOnly', + 'typing_extensions=typing:TypeIs', + 'typing_extensions=typing:TypeVar', + 'typing_extensions=typing:TypeVarTuple', + 'typing_extensions=typing:TypedDict', + 'typing_extensions=typing:get_protocol_members', + 'typing_extensions=typing:is_protocol', + 'typing_extensions=typing:runtime_checkable', +)) # END GENERATED # GENERATED VIA generate-typing-pep585-rewrites