-
-
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
Check sets for duplicate entries #5880
Comments
Hello, I'd like to work on that. If I understood correctly, the message we are talking about here is |
Yes! We might also need to update the description of the message to not only mention dictionaries any more 😉 |
Okayy, so we don't have to create a new message for the sets? |
Hm, now that I think about it, perhaps we should create |
I think creating a new message |
The PEP says:
From this perspective, set entries are more like "keys". But then the rest of the PEP refers to them as "values". And the docstring for So in the interest of covering every perspective, I suggest we use |
Hello, I am trying to run the tests but I get a |
Hello again, I'm getting an unexpected |
How did you clone the repository? That functional test is dependent on symlinks so I think it is important that the repository is cloned via |
I cloned it with |
Did you get a output log for the syntax error_ |
Hm, you might need to reclone your repository. That file should not show """Example taken from issue #1470"""
def func():
"""Both module should be parsed without problem"""
return 1 I believe The files should show up like this in the VSC File Explorer, to indicate that they are symlinked. Edit: Some googling showed that this might be relevant: |
Yeah, if the file gets changed then the test won't work anymore. Perhaps you can revert the change and see if you can commit without any changes to the file? Were you unable to allow |
When I run the I changed the |
I'll need to see the actual commit to see if nothing actually changes. This is difficult to interpret without seeing the actual changes I'd say go ahead with working on this, we should be able to resolve any issues with this particular test if they arise! |
Current problem
Pylint check dictionaries for duplicates, but not sets.
Desired solution
Flag duplicate set entries just as with dictionaries.
Additional context
No response
The text was updated successfully, but these errors were encountered: