Skip to content

Commit

Permalink
Merge pull request #355 from asottile/312-release
Browse files Browse the repository at this point in the history
update symbols for 3.12 release
  • Loading branch information
asottile authored Oct 2, 2023
2 parents 27c02ed + b5f584d commit 292a0b5
Showing 1 changed file with 54 additions and 2 deletions.
56 changes: 54 additions & 2 deletions reorder_python_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,20 +419,56 @@ def _fix_file(

# GENERATED VIA generate-typing-rewrite-info
# Using:
# flake8-typing-imports==1.14.0
# flake8-typing-imports==1.15.0
# mypy-extensions==1.0.0
# typing-extensions==4.6.3
# typing-extensions==4.8.0
REPLACES[(3, 6)].update((
'typing_extensions=typing:AbstractSet',
'typing_extensions=typing:AnyStr',
'typing_extensions=typing:AsyncIterable',
'typing_extensions=typing:AsyncIterator',
'typing_extensions=typing:Awaitable',
'typing_extensions=typing:BinaryIO',
'typing_extensions=typing:Callable',
'typing_extensions=typing:ClassVar',
'typing_extensions=typing:Collection',
'typing_extensions=typing:Container',
'typing_extensions=typing:ContextManager',
'typing_extensions=typing:Coroutine',
'typing_extensions=typing:DefaultDict',
'typing_extensions=typing:Dict',
'typing_extensions=typing:FrozenSet',
'typing_extensions=typing:Generator',
'typing_extensions=typing:Generic',
'typing_extensions=typing:Hashable',
'typing_extensions=typing:IO',
'typing_extensions=typing:ItemsView',
'typing_extensions=typing:Iterable',
'typing_extensions=typing:Iterator',
'typing_extensions=typing:KeysView',
'typing_extensions=typing:List',
'typing_extensions=typing:Mapping',
'typing_extensions=typing:MappingView',
'typing_extensions=typing:Match',
'typing_extensions=typing:MutableMapping',
'typing_extensions=typing:MutableSequence',
'typing_extensions=typing:MutableSet',
'typing_extensions=typing:Optional',
'typing_extensions=typing:Pattern',
'typing_extensions=typing:Reversible',
'typing_extensions=typing:Sequence',
'typing_extensions=typing:Set',
'typing_extensions=typing:Sized',
'typing_extensions=typing:TYPE_CHECKING',
'typing_extensions=typing:Text',
'typing_extensions=typing:TextIO',
'typing_extensions=typing:Tuple',
'typing_extensions=typing:Type',
'typing_extensions=typing:Union',
'typing_extensions=typing:ValuesView',
'typing_extensions=typing:cast',
'typing_extensions=typing:no_type_check',
'typing_extensions=typing:no_type_check_decorator',
))
REPLACES[(3, 7)].update((
'mypy_extensions=typing:NoReturn',
Expand All @@ -441,6 +477,7 @@ def _fix_file(
'typing_extensions=typing:ChainMap',
'typing_extensions=typing:Counter',
'typing_extensions=typing:Deque',
'typing_extensions=typing:ForwardRef',
'typing_extensions=typing:NoReturn',
))
REPLACES[(3, 8)].update((
Expand Down Expand Up @@ -481,6 +518,21 @@ def _fix_file(
'typing_extensions=typing:overload',
'typing_extensions=typing:reveal_type',
))
REPLACES[(3, 12)].update((
'typing_extensions=typing:NamedTuple',
'typing_extensions=typing:Protocol',
'typing_extensions=typing:SupportsAbs',
'typing_extensions=typing:SupportsBytes',
'typing_extensions=typing:SupportsComplex',
'typing_extensions=typing:SupportsFloat',
'typing_extensions=typing:SupportsInt',
'typing_extensions=typing:SupportsRound',
'typing_extensions=typing:TypeAliasType',
'typing_extensions=typing:TypedDict',
'typing_extensions=typing:Unpack',
'typing_extensions=typing:dataclass_transform',
'typing_extensions=typing:override',
))
# END GENERATED

# GENERATED VIA generate-typing-pep585-rewrites
Expand Down

0 comments on commit 292a0b5

Please sign in to comment.