[all-commits] [llvm/llvm-project] 8bc02b: fix(bolt/**.py): fix comparison to None (#94012)
Eisuke Kawashima via All-commits
all-commits at lists.llvm.org
Fri Jul 19 17:00:19 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8bc02bf5c6e94489a79c8d924e5d9866fcc18417
https://github.com/llvm/llvm-project/commit/8bc02bf5c6e94489a79c8d924e5d9866fcc18417
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-07-19 (Fri, 19 Jul 2024)
Changed paths:
M bolt/docs/generate_doc.py
M bolt/test/perf2bolt/lit.local.cfg
Log Message:
-----------
fix(bolt/**.py): fix comparison to None (#94012)
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.
Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list