forked from onnx/onnx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.lgtm.yml
More file actions
17 lines (17 loc) · 670 Bytes
/
.lgtm.yml
File metadata and controls
17 lines (17 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# By default, C/C++ extraction from LGTM.com uses Python 2
# Add this file to make it use Python 3
# Build protobuf from source with -fPIC is required here to prevent protobuf symbol error
extraction:
cpp:
before_index:
# Always use Python 3
- cp `which python3` $LGTM_WORKSPACE/python
- PATH=$LGTM_WORKSPACE:$PATH
# Build protobuf from source with -fPIC
- mkdir protobuf && cd protobuf
- source ../workflow_scripts/protobuf/build_protobuf_unix.sh $(nproc) $(pwd)/protobuf_install
path_classifiers:
test:
- exclude: / # ignore our default classification for test code
queries:
- exclude: py/import-and-import-from