forked from Tencent/CodeAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparams.py
More file actions
37 lines (34 loc) · 987 Bytes
/
params.py
File metadata and controls
37 lines (34 loc) · 987 Bytes
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
# -*- encoding: utf-8 -*-
# Copyright (c) 2021-2025 Tencent
#
# This source code file is made available under MIT License
# See LICENSE for details
# ==============================================================================
"""
# 代码规范工具任务参数
"""
class JobParams(object):
job_context = {
"project_id": 1,
"repo_id": 1,
"scheme_id": 1,
"scheme_name": "",
"job_runtime_limit": 600,
"ignore_submodule_clone": True,
"ignore_submodule_issue": False,
"issue_global_ignore": False,
"daily_save": True,
"oteam_score_flag": False,
"lfs_flag": True,
"issue_revision_merge_flag": False,
"code_yaml_filter": None,
"scm_type": "git",
"scm_url": "",
"path_filters": {
"inclusion": [],
"exclusion": [],
"re_inclusion": [],
"re_exclusion": []
},
"scm_initial_revision": None
}