-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix false positive consider-using-dict-comprehension
when creating a dict using a list of tuple where key AND value vary depending on the same condition
#5590
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
How am I still a first time contributor (: |
consider-using-dict-comprehension
when creating a dict using a list of tuple where key AND value vary depending on the same condition
My personal account is in contributors. Should I add another entry? |
Pull Request Test Coverage Report for Build 1638159708
π - Coveralls |
No, but you can add an entry in https://github.com/PyCQA/pylint/blob/main/.copyrite_aliases |
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'd add another test case for the case where the key change and not the value.
Co-authored-by: Pierre Sassoulas <[email protected]>
@Pierre-Sassoulas need a workflow approval |
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.
Very nice ! Congratulation on becoming a contributor on your second account π Would you mind adding an entry in the copyrite alias to be accounted as a single person (in this MR would work or another one, let me know) ?
Done |
Closing to relaunch github actions. |
Type of Changes
Adds a condition where R1717 should not be raised
Description
Closes #5588