Skip to content

[flake8-pie] Allow cast(SomeType, ...) (PIE796)#15141

Merged
MichaReiser merged 2 commits intoastral-sh:mainfrom
InSyncWithFoo:PIE796
Dec 30, 2024
Merged

[flake8-pie] Allow cast(SomeType, ...) (PIE796)#15141
MichaReiser merged 2 commits intoastral-sh:mainfrom
InSyncWithFoo:PIE796

Conversation

@InSyncWithFoo
Copy link
Contributor

Summary

Resolves #15132.

Test Plan

cargo nextest run and cargo insta test.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 26, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Copy link
Member

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

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

Thanks. This overall looks good to me. I've a small suggestion on how to change the code.

@MichaReiser MichaReiser added the rule Implementing or modifying a lint rule label Dec 26, 2024
Copy link
Member

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

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

Thanks

@MichaReiser MichaReiser merged commit 280ba75 into astral-sh:main Dec 30, 2024
@InSyncWithFoo InSyncWithFoo deleted the PIE796 branch December 30, 2024 15:06
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.

PIE796 false-positives on enum member cast in pyi files

2 participants