Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pyupgrade] lint TypeAliasType in UP040 #11530

Merged
merged 2 commits into from
May 26, 2024

Conversation

alex-700
Copy link
Contributor

Summary

Lint TypeAliasType in UP040.
Fixes #11422

Test Plan

cargo test

Copy link
Contributor

github-actions bot commented May 24, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@alex-700 alex-700 force-pushed the latyshev/up040-type-alias-type branch from a05665a to abab20b Compare May 24, 2024 12:11
Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@charliermarsh charliermarsh force-pushed the latyshev/up040-type-alias-type branch from c135320 to 9bcbf03 Compare May 26, 2024 19:01
@charliermarsh charliermarsh enabled auto-merge (squash) May 26, 2024 19:02
@charliermarsh charliermarsh added the rule Implementing or modifying a lint rule label May 26, 2024
@charliermarsh charliermarsh merged commit 77da461 into astral-sh:main May 26, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule Implementing or modifying a lint rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UP: Rule for rewriting typing_extensions.TypeAliasType as type ... on Python 3.12
2 participants