forked from nasa/fprime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lgtm.yml
39 lines (37 loc) · 1.07 KB
/
.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
##############
# Configuration file for LGTM.com
# Currently only needed for cpp code since python and js works by default
#
# @author: Hunter Paulson
# @modified: 2020-07-15
##############
path_classifiers:
test:
- "/Gds/test"
- "/Fw/Python/test"
docs:
- "/docs"
queries:
# Not excluding any results right now because we want to be alerted for all issues and fixes
# In the future we may exclude depreciated code like ptf/ and Gds/src/wxgui/
# - exclude:
extraction:
cpp:
prepare:
packages:
- "python3"
- "python3-pip"
- "python3-venv"
after_prepare:
# setup the venv and install packages
- "python3 -m venv ./fprime-venv"
- ". ./fprime-venv/bin/activate"
- "pip install ./Fw/Python"
- "pip install ./Gds"
configure:
command:
before_index:
- "fprime-util generate"
index:
build_command:
- "fprime-util build --all"