Skip to content

Commit

Permalink
regenerate typing replaces
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Jan 24, 2022
1 parent 543cf8a commit e651e6a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion reorder_python_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def _report_diff(contents: str, new_contents: str, filename: str) -> None:
# Using:
# flake8-typing-imports==1.12.0
# mypy_extensions==0.4.3
# typing_extensions==3.7.4.3
# typing_extensions==4.0.1
REPLACES[(3, 7)].update((
'mypy_extensions=typing:NoReturn',
))
Expand Down Expand Up @@ -565,6 +565,7 @@ def _report_diff(contents: str, new_contents: str, filename: str) -> None:
REPLACES[(3, 8)].update((
'typing_extensions=typing:Final',
'typing_extensions=typing:Literal',
'typing_extensions=typing:OrderedDict',
'typing_extensions=typing:Protocol',
'typing_extensions=typing:SupportsIndex',
'typing_extensions=typing:TypedDict',
Expand All @@ -576,6 +577,12 @@ def _report_diff(contents: str, new_contents: str, filename: str) -> None:
REPLACES[(3, 9)].update((
'typing_extensions=typing:Annotated',
))
REPLACES[(3, 10)].update((
'typing_extensions=typing:Concatenate',
'typing_extensions=typing:ParamSpec',
'typing_extensions=typing:TypeAlias',
'typing_extensions=typing:TypeGuard',
))
# END GENERATED

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

0 comments on commit e651e6a

Please sign in to comment.