edualgo / eduAlgo

A simple python package having modules of different algorithms to use in educational purposes.
https://edualgo.github.io/documentation/
MIT License
98 stars 54 forks source link

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

Closed Abhijit2505 closed 3 years ago

Abhijit2505 commented 3 years ago

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 80 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/edualgo/eduAlgo/issue/PTC-W0068/occurrences/

pawankm21 commented 3 years ago

Would like to work on this issue

Rutvik2610 commented 3 years ago

Hi, could you assign this issue to me?