forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodecheck.ini
104 lines (98 loc) · 3.74 KB
/
codecheck.ini
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Copyright (c) Yugabyte, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations
# under the License.
[default]
mypy_config = mypy.ini
[checks]
# Only keep Python-related checks on for now, and run them for a limited subset of files.
mypy = on
compile = on
pycodestyle = on
doctest = on
import = on
unittest = on
# TODO(mbautin): enable shellcheck here after it is installed on all build workers, or create a way
# to autodetect whether shellcheck is present on the system and not fail the build in that case.
shellcheck = off
[files]
# TODO: add codecheck support for a list of plain file paths (not regexes) and use it here.
included_regex_list =
^bin/remote_build[.]py$
^bin/remote_release[.]py$
^build-support/common-build-env.sh$
^build-support/common-cli-env.sh$
^build-support/common-test-env.sh$
^build-support/compiler-wrappers/compiler-wrapper.sh$
^build-support/find_linuxbrew.sh$
^build-support/is_same_path[.]py$
^build-support/jenkins/build.sh$
^build-support/jenkins/common-lto.sh$
^build-support/jenkins/test.sh$
^build-support/jenkins/yb-jenkins-build.sh$
^build-support/jenkins/yb-jenkins-test.sh$
^build-support/kill_long_running_minicluster_daemons[.]py$
^build-support/list_packaged_targets[.]$
^build-support/run_tests_on_spark[.]py$
^build-support/run-test.sh$
^build-support/split_long_command_line[.]py$
^build-support/stabilize_auto_flags_list[.]py$
^build-support/validate_build_root[.]py$
^build-support/yb_release[.]py$
^python/yb/__init__[.]py$
^python/yb/aggregate_test_reports[.]py$
^python/yb/build_paths[.]py$
^python/yb/build_postgres[.]py$
^python/yb/ccmd_tool[.]py$
^python/yb/clang_tidy_runner[.]py$
^python/yb/cmake_cache[.]py$
^python/yb/command_util[.]py$
^python/yb/common_util[.]py$
^python/yb/compile_commands_processor[.]py
^python/yb/compile_commands[.]py$
^python/yb/compiler_args[.]py
^python/yb/compiler_invocation[.]py$
^python/yb/compiler_parallel_runner[.]py$
^python/yb/dep_graph_common[.]py$
^python/yb/dependency_graph[.]py$
^python/yb/fossa_analysis[.]py$
^python/yb/gen_auto_flags_json[.]py$
^python/yb/gen_flags_metadata[.]py$
^python/yb/gen_initial_sys_catalog_snapshot[.]py$
^python/yb/include_path_rewriter[.]py$
^python/yb/install_wrapper[.]py$
^python/yb/json_util[.]py$
^python/yb/library_packager[.]py$
^python/yb/link_cmd[.]py$
^python/yb/linuxbrew[.]py$
^python/yb/logging_util[.]py$
^python/yb/lto[.]py$
^python/yb/mac_library_packager[.]py$
^python/yb/optional_components[.]py$
^python/yb/os_detection[.]py$
^python/yb/os_versions[.]py$
^python/yb/parallel_task_runner[.]py$
^python/yb/postgres_build_util[.]py$
^python/yb/postprocess_test_result[.]py$
^python/yb/preprocessor[.]py$
^python/yb/release_util[.]py$
^python/yb/remote[.]py$
^python/yb/rewrite_test_log[.]py$
^python/yb/rpath[.]py$
^python/yb/run_pvs_studio_analyzer[.]py$
^python/yb/source_files[.]py$
^python/yb/sys_libs[.]py$
^python/yb/test_postprocess_test_result[.]py$
^python/yb/test_rewrite_test_log[.]py$
^python/yb/thirdparty_tool[.]py$
^python/yb/tool_base[.]py$
^python/yb/type_util[.]py$
^python/yb/yb_dist_tests[.]py$
^yb_build.sh$