-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[flake8-pyi
] Implement PYI066
#11541
Conversation
/// | ||
/// if sys.version_info < (3, 10): | ||
/// | ||
/// def read_data(x, *, preserve_order=True): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this formatting is the best, but the mkdocs
check is failing if I change this in any way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened #11568 to track this; I've also bumped into this in the past :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feel free to revert the last commit to format it correctly as needed.
|
I can merge this one too. |
flake8-pyi
] Implement PYI066
Thanks @tusharsadhwani! |
Summary
Y066
fromflake8-pyi
asPYI066
PYI006
not being raised forelif
clauses. This would have conflicted with PYI006's implementation, so decided to do it in the same PR.Test Plan
cargo test
/cargo insta review