You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PYI026s autofix is broken. It addes TypeAlias annotations everywhere, but unconditionally imports from typing when it should import from typing_extensions if the target_version is less than py310. The bug appears to present when the PR was initially introduced in #5844
Skylion007
changed the title
PYI autofixes ignoring target_version, not importing from typing_extensions
PYI026 autofixes ignoring target_version, not importing from typing_extensions
Aug 19, 2023
PYI026s autofix is broken. It addes TypeAlias annotations everywhere, but unconditionally imports
from typing
when it should importfrom typing_extensions
if the target_version is less than py310. The bug appears to present when the PR was initially introduced in #5844https://beta.ruff.rs/docs/rules/type-alias-without-annotation/
The text was updated successfully, but these errors were encountered: