Commit 7c8a8bd
authored
[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.1 parent 77f75b4 commit 7c8a8bd
File tree
1 file changed
+1
-1
lines changed- clang-tools-extra/docs/clang-tidy/checks
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments