]> git.ipfire.org Git - thirdparty/systemd.git/blame - .lgtm.yml
lgtm: enable more (and potentially useful) queries
[thirdparty/systemd.git] / .lgtm.yml
CommitLineData
65be7042
FS
1---
2# vi: ts=2 sw=2 et:
3
38f36b9f
FS
4# Explicitly enable certain checks which are hidden by default
5queries:
6 - include: cpp/bad-strncpy-size
7 - include: cpp/declaration-hides-variable
8 - include: cpp/inconsistent-null-check
9 - include: cpp/mistyped-function-arguments
10 - include: cpp/nested-loops-with-same-variable
11 - include: cpp/sizeof-side-effect
12 - include: cpp/suspicious-pointer-scaling
13 - include: cpp/suspicious-pointer-scaling-void
14 - include: cpp/suspicious-sizeof
15 - include: cpp/unsafe-strcat
16 - include: cpp/unsafe-strncat
17 - include: cpp/unsigned-difference-expression-compared-zero
18 - include: cpp/unused-local-variable
19 - include:
20 tags:
21 - "security"
22 - "correctness"
23 severity: "error"
24
55d651d8
YW
25extraction:
26 cpp:
27 prepare:
28 packages:
0edd431e 29 - libpwquality-dev
e65f29b4
LP
30 - libfdisk-dev
31 - libp11-kit-dev
32 - libssl-dev
392ed185 33 - python3-jinja2
8f876748
FS
34 after_prepare:
35 - pip3 install meson==0.53.2
36 - export PATH="/opt/work/.local/bin:$PATH"
fc1c09e1
YW
37 python:
38 python_setup:
39 version: 3