-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
220 lines (206 loc) · 5.46 KB
/
pyproject.toml
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm[toml]>=6.0"
]
build-backend = 'setuptools.build_meta'
[tool.setuptools_scm]
[tool.pytest.ini_options]
xfail_strict = true
addopts = "--strict-markers"
markers = [
'389-ds_2.2',
'389-ds_3.1',
'alertmanager_0.26',
'alertmanager_0.27',
'apache-tomcat_9-openjdk8',
'apache-tomcat_9-openjdk11',
'apache-tomcat_9-openjdk17',
'apache-tomcat_9-openjdk21',
'apache-tomcat_10.1-openjdk23',
'apache-tomcat_10.1-openjdk11',
'apache-tomcat_10.1-openjdk17',
'apache-tomcat_10.1-openjdk21',
'bci-base_15.3',
'bci-base_15.3-ltss',
'bci-base_15.4',
'bci-base_15.4-ltss',
'bci-base_15.5',
'bci-base_15.6',
'bci-base_15.7',
'bci-base_16.0',
'bci-base_latest',
'bci-base-fips_15.3',
'bci-base-fips_15.4',
'bci-base-fips_15.5',
'bci-base-fips_15.6',
'bci-base-fips_15.7',
'bci-busybox_15.3',
'bci-busybox_15.4',
'bci-busybox_15.5',
'bci-busybox_15.6',
'bci-busybox_15.7',
'bci-busybox_16.0',
'bci-busybox_latest',
'bci-init_15.3',
'bci-init_15.4',
'bci-init_15.5',
'bci-init_15.6',
'bci-init_15.7',
'bci-init_16.0',
'bci-init_latest',
'bci-micro_15.3',
'bci-micro_15.4',
'bci-micro_15.5',
'bci-micro_15.6',
'bci-micro_15.7',
'bci-micro_16.0',
'bci-micro_latest',
'bci-minimal_15.3',
'bci-minimal_15.4',
'bci-minimal_15.5',
'bci-minimal_15.6',
'bci-minimal_15.7',
'bci-minimal_16.0',
'bci-minimal_latest',
'blackbox_exporter_0.24',
'cosign_2.2',
'cosign_2.4',
'dotnet-aspnet_8.0',
'dotnet-aspnet_9.0',
'dotnet-runtime_8.0',
'dotnet-runtime_9.0',
'dotnet-sdk_8.0',
'dotnet-sdk_9.0',
'gcc_7',
'gcc_13',
'gcc_14',
'git_2.35',
'git_2.43',
'git_latest',
'helm_3.13',
'helm_latest',
'nginx_1.21',
'nginx_latest',
'golang_oldstable',
'golang_oldstable-openssl',
'golang_stable',
'golang_stable-openssl',
'golang_unstable',
'grafana_9',
'grafana_11',
'kiwi_9.24',
'kiwi_10.1',
'mariadb_10.6',
'mariadb_10.11',
'mariadb_11.6',
'mariadb-client_10.6',
'mariadb-client_10.11',
'mariadb-client_11.6',
'nodejs_16',
'nodejs_18',
'nodejs_20',
'nodejs_22',
'openjdk_11',
'openjdk_17',
'openjdk_21',
'openjdk_23',
'openjdk-devel_11',
'openjdk-devel_17',
'openjdk-devel_21',
'openjdk-devel_23',
'ollama_0.3',
'open-webui_0.3',
'pcp_5',
'pcp_6',
'php_8',
'php-apache_8',
'php-fpm_8',
'postfix_3.8',
'postfix_3.9',
'postgres_14',
'postgres_15',
'postgres_16',
'postgres_17',
'prometheus_2',
'python_3.10',
'python_3.11',
'python_3.12',
'python_3.13',
'python_3.6',
'registry_2.8',
'ruby_2.5',
'ruby_3.3',
'rust_oldstable',
'rust_stable',
'tumbleweed_latest',
'bci-sle15-kernel-module-devel_15.5',
'bci-sle15-kernel-module-devel_15.6',
'bci-sle15-kernel-module-devel_15.7',
'bci-sle16-kernel-module-devel_16.0',
'spack_0.21',
]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".git",
]
line-length = 79
indent-width = 4
# Assume Python 3.7
# Ideally we'd be 3.6 but upstream has no support for 3.6
# https://github.com/astral-sh/ruff/issues/3826
target-version = "py37"
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
# Enable auto-formatting of code examples in docstrings. Markdown,
# reStructuredText code/literal blocks and doctests are all supported.
#
# This is currently disabled by default, but it is planned for this
# to be opt-out in the future.
docstring-code-format = false
# Set the line length limit used when formatting code snippets in
# docstrings.
#
# This only has an effect when the `docstring-code-format` setting is
# enabled.
docstring-code-line-length = "dynamic"
[tool.ruff.lint]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I"
]
ignore = [
# too long lines
"E501"
]
[tool.ruff.lint.isort]
force-single-line = true
case-sensitive = true
[tool.pylint.main]
# Specify a score threshold under which the program will exit with error.
fail-under = 9.75
# Minimum Python version to use for version dependent checks. Will default to the
# version used to run pylint.
py-version = "3.6"
[tool.pylint."messages control"]
# Disable the message, report, category or checker with the given id(s). You can
# either give multiple identifiers separated by comma (,) or put this option
# multiple times (only on the command line, not in the configuration file where
# it should appear only once). You can also use "--disable=all" to disable
# everything first and then re-enable specific checks. For example, if you want
# to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable = ["raw-checker-failed", "bad-inline-option", "locally-disabled", "file-ignored", "suppressed-message", "useless-suppression", "deprecated-pragma", "use-implicit-booleaness-not-comparison-to-string", "use-implicit-booleaness-not-comparison-to-zero", "use-symbolic-message-instead", "line-too-long", "wrong-import-order", "ungrouped-imports"]