Skip to content

Commit

Permalink
Merge pull request #741 from asottile/py311-release
Browse files Browse the repository at this point in the history
regenerate import symbols
  • Loading branch information
asottile committed Oct 24, 2022
2 parents c661da6 + e6669bd commit b1f3615
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion pyupgrade/_plugins/imports.py
Expand Up @@ -21,7 +21,7 @@
from pyupgrade._token_helpers import indented_amount

# GENERATED VIA generate-imports
# Using reorder-python-imports==3.8.4
# Using reorder-python-imports==3.9.0
REMOVALS = {
(3,): {
'__future__': {
Expand Down Expand Up @@ -164,6 +164,25 @@
('typing_extensions', 'get_origin'): 'typing',
('typing_extensions', 'is_typeddict'): 'typing',
},
(3, 11): {
('typing_extensions', 'Any'): 'typing',
('typing_extensions', 'LiteralString'): 'typing',
('typing_extensions', 'NamedTuple'): 'typing',
('typing_extensions', 'Never'): 'typing',
('typing_extensions', 'NotRequired'): 'typing',
('typing_extensions', 'Required'): 'typing',
('typing_extensions', 'Self'): 'typing',
('typing_extensions', 'TypedDict'): 'typing',
('typing_extensions', 'Unpack'): 'typing',
('typing_extensions', 'assert_never'): 'typing',
('typing_extensions', 'assert_type'): 'typing',
('typing_extensions', 'clear_overloads'): 'typing',
('typing_extensions', 'dataclass_transform'): 'typing',
('typing_extensions', 'final'): 'typing',
('typing_extensions', 'get_overloads'): 'typing',
('typing_extensions', 'overload'): 'typing',
('typing_extensions', 'reveal_type'): 'typing',
},
}
REPLACE_MODS = {
'six.moves.BaseHTTPServer': 'http.server',
Expand Down

0 comments on commit b1f3615

Please sign in to comment.