[ci]: make it easy to run analysis locally (#395)

allows for developers to more easily run the analysis locally before
opening a pull request if they wish.

also disables a noisy warning (bugprone-assignment-in-if-condition)
producing too many false positives.

Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/395
Reviewed-by: Berke Kocaoğlu <kberke@metu.edu.tr>
Co-authored-by: NRK <nrk@disroot.org>
Co-committed-by: NRK <nrk@disroot.org>
This commit is contained in:
NRK
2022-12-02 10:50:15 +00:00
committed by Berke Kocaoğlu
parent 3804b50656
commit 9cb9a54944
3 changed files with 23 additions and 18 deletions

View File

@ -8,6 +8,7 @@ misc-*,android-cloexec-*,cert-*,llvm-include-order
-bugprone-easily-swappable-parameters,-bugprone-narrowing-conversions,-bugprone-incorrect-roundings
-bugprone-implicit-widening-of-multiplication-result,-bugprone-integer-division
-android-cloexec-fopen,-android-cloexec-pipe,-cert-err33-c
-bugprone-assignment-in-if-condition
# false positive warnings
-clang-analyzer-valist.Uninitialized