[all-commits] [llvm/llvm-project] a6ab19: fix(llvm/**.py): fix comparison to True/False (#94...

Eisuke Kawashima via All-commits all-commits at lists.llvm.org
Thu Sep 19 05:38:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6ab19b1d400707c6e6cb6074ae52e22ac7885dd
      https://github.com/llvm/llvm-project/commit/a6ab19b1d400707c6e6cb6074ae52e22ac7885dd
  Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M llvm/utils/indirect_calls.py

  Log Message:
  -----------
  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 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