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

(PTC-W0068) Consider using identity comparison with singleton #2

Open
unownone opened this issue Mar 4, 2022 · 0 comments
Open

(PTC-W0068) Consider using identity comparison with singleton #2

unownone opened this issue Mar 4, 2022 · 0 comments

Comments

@unownone
Copy link
Owner

unownone commented Mar 4, 2022

Description

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

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/unownone/Fast-online-compiler/issue/PTC-W0068/occurrences/

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

No branches or pull requests

1 participant