(PTC-W0068) Consider using identity comparison with singleton
robotichead opened this issue · comments
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 are 5 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/robotichead/NearBeach/issue/PTC-W0068/occurrences/
Sorry for rejecting the pull request. It looks like your text editor has send a number of edits where it splits the lines at weird places. These do not follow our style guide.
Can you please revert those specific changes.
Thank you :)