-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[pylint
] Mark PLC0207
fixes as unsafe when *args
unpacking is present
#19679
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
Conversation
|
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.
Thanks! The code fix looks perfect to me, just a couple of docs nits and a question/suggestion about tests.
crates/ruff_linter/src/rules/pylint/rules/missing_maxsplit_arg.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/pylint/rules/missing_maxsplit_arg.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/resources/test/fixtures/pylint/missing_maxsplit_arg.py
Outdated
Show resolved
Hide resolved
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.
Thank you! LGTM
Edit: whoops, didn't see Brent reviewing - and being more helpful and discerning 😅
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.
Thanks!
Summary
Fixes #19660