Skip to content

Commit

Permalink
Merge pull request #395 from asottile/regen-typing-symbols
Browse files Browse the repository at this point in the history
update symbols for 3.13 release
  • Loading branch information
asottile authored Oct 11, 2024
2 parents 6b7af8f + 7a188aa commit 02970fd
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions reorder_python_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 02970fd

Please sign in to comment.