whiTeLeaf-TL / U1bot

一个令人欢喜的娱乐机器
GNU General Public License v3.0
6 stars 3 forks source link

refactor: use identity check for comparison to a singleton #28

Closed deepsource-autofix[bot] closed 9 months ago

deepsource-autofix[bot] commented 9 months ago

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