Skip to content

refactor: use identity check for comparison to a singleton - #907

Merged
Dhruvacube merged 2 commits into
masterfrom
deepsource-autofix-0d0bd5e4
Aug 31, 2026
Merged

Dhruvacube merged 2 commits into
masterfrom
deepsource-autofix-0d0bd5e4

Conversation

@deepsource-autofix

Copy link
Copy Markdown
Contributor

Comparisons to the singleton objects, like True, False, and None, should be done with identity, not equality. Use is or is not.

Comparisons to the singleton objects, like `True`, `False`, and `None`, should be done with identity, not equality. Use `is` or `is not`.
This commit fixes the style issues introduced in 0981084 according to the output
from Black.

Details: #907
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@Dhruvacube
Dhruvacube merged commit 3745fb5 into master Aug 31, 2026
10 of 20 checks passed
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