Skip to content

Commit 5fed8bc

Browse files
committed
Python: Add codeql-extractor.yml
1 parent 016aeda commit 5fed8bc

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

python/codeql-extractor.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: "python"
2+
display_name: "Python"
3+
version: 1.22.1
4+
column_kind: utf32
5+
build_modes:
6+
- none
7+
github_api_languages:
8+
- Python
9+
scc_languages:
10+
- Python
11+
file_types:
12+
- name: python
13+
display_name: Python sources
14+
extensions:
15+
- .py
16+
legacy_qltest_extraction: true
17+
options:
18+
logging:
19+
title: Options pertaining to logging.
20+
type: object
21+
properties:
22+
verbosity:
23+
title: Python extractor logging verbosity level.
24+
description: >
25+
Controls the level of verbosity of the CodeQL Python extractor.
26+
27+
The supported levels are (in order of increasing verbosity):
28+
29+
- off
30+
- errors
31+
- warnings
32+
- info or progress
33+
- debug or progress+
34+
- trace or progress++
35+
- progress+++
36+
type: string
37+
pattern: "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
38+
python_executable_name:
39+
title: Controls the name of the Python executable used by the Python extractor.
40+
description: >
41+
The Python extractor uses platform-dependent heuristics to determine the name of the Python executable to use.
42+
Specifying a value for this option overrides the name of the Python executable used by the extractor.
43+
Accepted values are py, python and python3.
44+
Use this setting with caution, the Python extractor requires Python 3 to run.
45+
type: string
46+
pattern: "^(py|python|python3)$"

0 commit comments

Comments
 (0)