ROCm / rocm_smi_lib

ROCm SMI LIB
https://rocm.docs.amd.com/projects/rocm_smi_lib/en/latest/
MIT License
111 stars 48 forks source link

fix(E712): fix comparison to True/False #173

Open e-kwsm opened 1 month ago

e-kwsm commented 1 month 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.

dmitrii-galantsev commented 1 month ago

@e-kwsm Do you have a suggestion on what linter to use for python?

Also - we would appreciate your effort spent on https://github.com/ROCm/amdsmi instead :)
That project is supposed to replace rocm-smi.

e-kwsm commented 1 month ago

ROCm/amdsmi#35 opened.