Skip to content

refactor: remove redundant None default#60

Open
deepsource-autofix[bot] wants to merge 1 commit intomasterfrom
deepsource-autofix-4f6a2dd7
Open

refactor: remove redundant None default#60
deepsource-autofix[bot] wants to merge 1 commit intomasterfrom
deepsource-autofix-4f6a2dd7

Conversation

@deepsource-autofix
Copy link
Contributor

It is unnecessary to provide None as the default value when the key is not present in the dictionary as get implicitly returns None. Not preferred:

It is unnecessary to provide `None` as the default value when the key is not present in the dictionary as `get` implicitly returns `None`.  Not preferred:
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.

0 participants