Skip to content
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

Add PLE1141, DictIterMissingItems #1

Closed
wants to merge 1 commit into from

Conversation

DanielNoord
Copy link
Owner

Summary

References astral-sh#970.

Implements dict-iter-missing-items.

Took the tests from "upstream" here.

I wasn't able to implement code for one false positive, but it is pretty estoric: pylint-dev/pylint#3283
I would personally argue that adding this check as preview rule without supporting this specific use case is fine. I did add a "test" for it.

Test Plan

Followed the Contributing guide to create tests, hopefully I didn't miss any.

@DanielNoord DanielNoord closed this Feb 5, 2024
@DanielNoord DanielNoord reopened this Feb 5, 2024
@DanielNoord DanielNoord closed this Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant