AGBV / YASF

Yet Another Scattering Framework python implementation
https://agbv.github.io/YASF/
MIT License
0 stars 0 forks source link

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

Closed deepsource-autofix[bot] closed 5 months ago

deepsource-autofix[bot] commented 5 months ago

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