diff --git a/reorder_python_imports.py b/reorder_python_imports.py index df8b52f..c8d6a0c 100644 --- a/reorder_python_imports.py +++ b/reorder_python_imports.py @@ -421,7 +421,7 @@ def _fix_file( # Using: # flake8-typing-imports==1.15.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,18 @@ 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:ParamSpec', + 'typing_extensions=typing:Protocol', + 'typing_extensions=typing:TypeVar', + 'typing_extensions=typing:TypeVarTuple', + 'typing_extensions=typing:TypedDict', + 'typing_extensions=typing:runtime_checkable', +)) # END GENERATED # GENERATED VIA generate-typing-pep585-rewrites