nsxivba39006
[ci]: disable noisy checks (#365)
* disable `cert-err33-c` and `readability-identifier-length` check which causes warnings on clang-tidy v14. * disable all "readability" checks by default, instead just opt-into the useful ones (such as duplicate include).
+3 −6
1 file changed
- M etc/woodpecker/clang-tidy-checks +3 −6
| @@ -1,16 +1,13 @@ | |||
| 1 | 1 | # checks | |
| 2 | 2 | clang-analyzer-*,clang-diagnostic-*,bugprone-*,performance-*,modernize-* | |
| 3 | − | misc-*,readability-*,android-cloexec-*,cert-* | |
| 4 | − | llvm-include-order | |
| 3 | + | misc-*,android-cloexec-*,cert-*,llvm-include-order | |
| 4 | + | -readability-*,readability-duplicate-include,readability-misleading-indentation | |
| 5 | 5 | ||
| 6 | 6 | # silence | |
| 7 | 7 | -misc-unused-parameters | |
| 8 | 8 | -bugprone-easily-swappable-parameters,-bugprone-narrowing-conversions,-bugprone-incorrect-roundings | |
| 9 | 9 | -bugprone-implicit-widening-of-multiplication-result,-bugprone-integer-division | |
| 10 | − | -readability-braces-around-statements,-readability-magic-numbers,-readability-isolate-declaration | |
| 11 | − | -readability-function-cognitive-complexity,-readability-else-after-return | |
| 12 | − | -readability-uppercase-literal-suffix,-readability-avoid-const-params-in-decls | |
| 13 | − | -android-cloexec-fopen,-android-cloexec-pipe | |
| 10 | + | -android-cloexec-fopen,-android-cloexec-pipe,-cert-err33-c | |
| 14 | 11 | ||
| 15 | 12 | # false positive warnings | |
| 16 | 13 | -clang-analyzer-valist.Uninitialized | |