ROCm / rocminfo

ROCm Application for Reporting System Info
Other
35 stars 32 forks source link

fix(python): fix comparison to None #75

Open e-kwsm opened 5 months ago

e-kwsm commented 5 months ago

from PEP8 (https://peps.python.org/pep-0008/#programming-recommendations):

Comparisons to singletons like None should always be done with is or is not, never the equality operators.