Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

Replace in dict.keys() with in dict#19

Merged
morgante merged 2 commits intogetgrit:mainfrom
vlopezferrando:in-dict-keys
Sep 19, 2023
Merged

Replace in dict.keys() with in dict#19
morgante merged 2 commits intogetgrit:mainfrom
vlopezferrando:in-dict-keys

Conversation

@vlopezferrando
Copy link
Contributor

Rewrite in dict.keys() to in dict. Rule SIM118 from flake8-simplify.

Limitations:

  • The change is not applied to for loops.

@morgante morgante merged commit 9ced695 into getgrit:main Sep 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants