[all-commits] [llvm/llvm-project] 7c8a8b: [clang-tidy] fix(clang-tools-extra/**.py): fix com...

Eisuke Kawashima via All-commits all-commits at lists.llvm.org
Mon Jun 10 11:16:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c8a8bdc3a555e531e79af6ea9a60eb30c41475d
      https://github.com/llvm/llvm-project/commit/7c8a8bdc3a555e531e79af6ea9a60eb30c41475d
  Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py

  Log Message:
  -----------
  [clang-tidy] fix(clang-tools-extra/**.py): fix comparison to None (#94013)

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.



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