-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lgtm.yml
45 lines (40 loc) · 988 Bytes
/
.lgtm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# LGTM config file docs: https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
# Results from files under any classifier will be excluded from LGTM stats.
path_classifiers:
library:
- "auxil/broker/caf/"
- "auxil/libkqueue/"
- "auxil/highwayhash/"
- "auxil/rapidjson/"
- "src/3rdparty/"
# Filter out alerts that aren't concerning.
queries:
- exclude: cpp/use-of-goto
- exclude: cpp/short-global-name
- exclude: cpp/fixme-comment
- exclude: cpp/function-in-block
extraction:
cpp:
prepare:
# Ubuntu packages to install.
packages:
- cmake
- make
- ninja-build
- gcc
- g++
- flex
- bison
- libpcap-dev
- libssl-dev
- python3
- python3-dev
- swig
- zlib1g-dev
- libkrb5-dev
configure:
command:
- ./configure --build-type=debug --generator=Ninja
index:
build_command:
- ( cd build && ninja )