Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable additional LGTM queries #799

Merged
merged 1 commit into from
Jun 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .lgtm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@


path_classifiers:
test:
- "/Gds/test"
- "/Fw/Python/test"
docs:
- "/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:
- include: cpp/incorrect-not-operator-usage
- include:
tags:
- "correctness"
- "reliability"

extraction:
cpp:
prepare:
prepare:
packages:
- "python3"
- "python3-pip"
- "python3-venv"
after_prepare:
# setup the venv and install packages
- "python3 -m venv ./fprime-venv"
- ". ./fprime-venv/bin/activate"
- ". ./fprime-venv/bin/activate"
- "pip install fprime-tools fprime-gds"
configure:
configure:
command:
before_index:
- "fprime-util generate"
index:
index:
build_command:
- "fprime-util build --all"