mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:38:25 +00:00
[pyupgrade
] Ignore is_typeddict
and TypedDict
for deprecated-import
(UP035
) (#15800)
This commit is contained in:
parent
6c1e19592e
commit
d151ca85d3
3 changed files with 14 additions and 2 deletions
|
@ -109,3 +109,9 @@ from typing_extensions import CapsuleType
|
|||
|
||||
# UP035 on py313+ only
|
||||
from typing_extensions import deprecated
|
||||
|
||||
|
||||
# https://github.com/astral-sh/ruff/issues/15780
|
||||
from typing_extensions import is_typeddict
|
||||
# https://github.com/astral-sh/ruff/pull/15800#pullrequestreview-2580704217
|
||||
from typing_extensions import TypedDict
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue