fix(llvm/**.py): fix comparison to True/False (#94040)

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@users.noreply.github.com>
This commit is contained in:
Eisuke Kawashima
2024-09-19 21:38:15 +09:00
committed by GitHub
parent dd599e92a6
commit a6ab19b1d4

View File

@@ -31,7 +31,7 @@ def look_for_indirect(file):
function = ""
for line in stdout.splitlines():
if line.startswith(" ") == False:
if not line.startswith(" "):
function = line
result = re.search("(call|jmp).*\*", line)
if result is not None: