You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @pums974 , thank you for opening this! I think this is a good suggestion, and am open to PRs. AFAICT this isn't implemented in Ruff, so adding it into Refurb would be good.
Overview
This is a suggestion for a new rule
I propose to suggest more usage of
some_dict.setdefault(key, default value)
Proposal
It could replace a pattern a bit more obscure :
The text was updated successfully, but these errors were encountered: