Lines Matching +full:pylib +full:- +full:tests
1 # SPDX-License-Identifier: Apache-2.0
6 [lint.per-file-ignores]
8 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
9 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
12 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
13 "UP030", # https://docs.astral.sh/ruff/rules/format-literals
14 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
17 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
18 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
19 "UP034", # https://docs.astral.sh/ruff/rules/extraneous-parentheses
20 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
23 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
24 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
25 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
26 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
29 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
30 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
31 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
34 "SIM401", # https://docs.astral.sh/ruff/rules/if-else-block-instead-of-dict-get
37 "E713", # https://docs.astral.sh/ruff/rules/not-in-test
38 "E741", # https://docs.astral.sh/ruff/rules/ambiguous-variable-name
39 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
40 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
41 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
44 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
47 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
50 "E101", # https://docs.astral.sh/ruff/rules/mixed-spaces-and-tabs
51 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
52 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
53 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
54 "UP032", # https://docs.astral.sh/ruff/rules/f-string
55 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
57 "./samples/modules/tflite-micro/magic_wand/train/data_augmentation.py" = [
58 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
59 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
60 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
61 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
63 "./samples/modules/tflite-micro/magic_wand/train/data_augmentation_test.py" = [
64 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
65 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
67 "./samples/modules/tflite-micro/magic_wand/train/data_load.py" = [
68 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
69 "B020", # https://docs.astral.sh/ruff/rules/loop-variable-overrides-iterator
70 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
71 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
72 "UP004", # https://docs.astral.sh/ruff/rules/useless-object-inheritance
73 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
74 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
76 "./samples/modules/tflite-micro/magic_wand/train/data_load_test.py" = [
77 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
78 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
79 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
81 "./samples/modules/tflite-micro/magic_wand/train/data_prepare.py" = [
82 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
83 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
84 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
85 "UP009", # https://docs.astral.sh/ruff/rules/utf8-encoding-declaration
86 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
87 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
88 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
90 "./samples/modules/tflite-micro/magic_wand/train/data_prepare_test.py" = [
91 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
92 "F821", # https://docs.astral.sh/ruff/rules/undefined-name
93 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
94 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
95 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
96 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
98 "./samples/modules/tflite-micro/magic_wand/train/data_split.py" = [
99 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
100 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
101 "UP009", # https://docs.astral.sh/ruff/rules/utf8-encoding-declaration
102 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
103 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
105 "./samples/modules/tflite-micro/magic_wand/train/data_split_person.py" = [
106 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
107 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
108 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
109 "UP009", # https://docs.astral.sh/ruff/rules/utf8-encoding-declaration
110 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
112 "./samples/modules/tflite-micro/magic_wand/train/data_split_person_test.py" = [
113 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
114 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
115 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
117 "./samples/modules/tflite-micro/magic_wand/train/data_split_test.py" = [
118 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
119 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
120 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
121 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
123 "./samples/modules/tflite-micro/magic_wand/train/train.py" = [
124 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
125 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
126 "SIM113", # https://docs.astral.sh/ruff/rules/enumerate-for-loop
127 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
128 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
129 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
130 "UP032", # https://docs.astral.sh/ruff/rules/f-string
132 "./samples/modules/tflite-micro/magic_wand/train/train_test.py" = [
133 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
134 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
137 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
138 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
141 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
142 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
145 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
148 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
149 "SIM112", # https://docs.astral.sh/ruff/rules/uncapitalized-environment-variables
152 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
153 "F401", # https://docs.astral.sh/ruff/rules/unused-import
154 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
155 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
156 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
157 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
160 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
161 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
164 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
165 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
166 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
167 "UP032", # https://docs.astral.sh/ruff/rules/f-string
170 "B023", # https://docs.astral.sh/ruff/rules/function-uses-loop-variable
171 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
174 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
175 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
176 "UP030", # https://docs.astral.sh/ruff/rules/format-literals
177 "UP032", # https://docs.astral.sh/ruff/rules/f-string
180 "E101", # https://docs.astral.sh/ruff/rules/mixed-spaces-and-tabs
181 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
182 "UP032", # https://docs.astral.sh/ruff/rules/f-string
185 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
186 "UP032", # https://docs.astral.sh/ruff/rules/f-string
189 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
190 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
191 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
194 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
195 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
196 "UP032", # https://docs.astral.sh/ruff/rules/f-string
199 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
200 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
201 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
202 "UP030", # https://docs.astral.sh/ruff/rules/format-literals
203 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
204 "UP032", # https://docs.astral.sh/ruff/rules/f-string
207 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
208 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
209 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
210 "UP030", # https://docs.astral.sh/ruff/rules/format-literals
211 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
212 "UP032", # https://docs.astral.sh/ruff/rules/f-string
215 "E101", # https://docs.astral.sh/ruff/rules/mixed-spaces-and-tabs
216 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
217 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
218 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
219 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
220 "SIM401", # https://docs.astral.sh/ruff/rules/if-else-block-instead-of-dict-get
221 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
222 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
223 "UP032", # https://docs.astral.sh/ruff/rules/f-string
224 "W191", # https://docs.astral.sh/ruff/rules/tab-indentation
227 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
228 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
231 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
232 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
233 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
236 "B028", # https://docs.astral.sh/ruff/rules/no-explicit-stacklevel
237 "E101", # https://docs.astral.sh/ruff/rules/mixed-spaces-and-tabs
238 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
239 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
240 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
241 "SIM401", # https://docs.astral.sh/ruff/rules/if-else-block-instead-of-dict-get
242 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
243 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
244 "UP037", # https://docs.astral.sh/ruff/rules/quoted-annotation
247 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
248 "SIM105", # https://docs.astral.sh/ruff/rules/suppressible-exception
249 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
252 "SIM105", # https://docs.astral.sh/ruff/rules/suppressible-exception
253 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
256 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
257 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
258 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
259 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
260 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
263 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
264 "E713", # https://docs.astral.sh/ruff/rules/not-in-test
265 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
266 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
267 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
268 "UP032", # https://docs.astral.sh/ruff/rules/f-string
271 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
272 "SIM113", # https://docs.astral.sh/ruff/rules/enumerate-for-loop
273 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
274 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
277 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
278 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
279 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
280 "SIM113", # https://docs.astral.sh/ruff/rules/enumerate-for-loop
281 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
282 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
285 "B904", # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except
286 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
287 "UP032", # https://docs.astral.sh/ruff/rules/f-string
290 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
291 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
292 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
295 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
296 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
297 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
300 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
301 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
304 "B011", # https://docs.astral.sh/ruff/rules/assert-false
305 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
306 "E711", # https://docs.astral.sh/ruff/rules/none-comparison
307 "E722", # https://docs.astral.sh/ruff/rules/bare-except
308 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
309 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
310 "SIM103", # https://docs.astral.sh/ruff/rules/needless-bool
311 "SIM118", # https://docs.astral.sh/ruff/rules/in-dict-keys
312 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
313 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
314 "UP032", # https://docs.astral.sh/ruff/rules/f-string
317 "B904", # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except
318 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
319 "E741", # https://docs.astral.sh/ruff/rules/ambiguous-variable-name
320 "F401", # https://docs.astral.sh/ruff/rules/unused-import
321 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
322 "SIM112", # https://docs.astral.sh/ruff/rules/uncapitalized-environment-variables
323 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
326 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
327 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
328 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
331 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
332 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
335 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
336 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
337 "UP032", # https://docs.astral.sh/ruff/rules/f-string
340 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
341 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
344 "B006", # https://docs.astral.sh/ruff/rules/mutable-argument-default
345 "E401", # https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line
346 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
347 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
348 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
349 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
350 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
351 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
352 "UP032", # https://docs.astral.sh/ruff/rules/f-string
355 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
356 "E713", # https://docs.astral.sh/ruff/rules/not-in-test
357 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
358 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
361 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
362 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
363 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
366 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
369 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
370 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
371 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
372 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
373 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
376 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
377 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
378 "UP030", # https://docs.astral.sh/ruff/rules/format-literals
379 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
380 "UP032", # https://docs.astral.sh/ruff/rules/f-string
383 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
384 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
385 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
388 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
389 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
392 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
393 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
394 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
397 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
398 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
401 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
402 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
405 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
406 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
409 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
410 "SIM113", # https://docs.astral.sh/ruff/rules/enumerate-for-loop
411 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
414 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
415 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
418 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
419 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
420 "E741", # https://docs.astral.sh/ruff/rules/ambiguous-variable-name
421 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
422 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
423 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
424 "UP007", # https://docs.astral.sh/ruff/rules/non-pep604-annotation
425 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
428 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
429 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
432 "SIM118", # https://docs.astral.sh/ruff/rules/in-dict-keys
434 "./scripts/dts/python-devicetree/src/devicetree/_private.py" = [
435 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
436 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
438 "./scripts/dts/python-devicetree/src/devicetree/dtlib.py" = [
439 "E701", # https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-colon
440 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
441 "SIM201", # https://docs.astral.sh/ruff/rules/negate-equal-op
442 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
443 "UP007", # https://docs.astral.sh/ruff/rules/non-pep604-annotation
444 "UP032", # https://docs.astral.sh/ruff/rules/f-string
445 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
446 "UP037", # https://docs.astral.sh/ruff/rules/quoted-annotation
448 "./scripts/dts/python-devicetree/src/devicetree/edtlib.py" = [
449 "B904", # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except
450 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
451 "E713", # https://docs.astral.sh/ruff/rules/not-in-test
452 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
453 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
454 "SIM118", # https://docs.astral.sh/ruff/rules/in-dict-keys
455 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
456 "UP007", # https://docs.astral.sh/ruff/rules/non-pep604-annotation
457 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
458 "UP032", # https://docs.astral.sh/ruff/rules/f-string
459 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
460 "UP037", # https://docs.astral.sh/ruff/rules/quoted-annotation
462 "./scripts/dts/python-devicetree/src/devicetree/grutils.py" = [
463 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
464 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
465 "UP032", # https://docs.astral.sh/ruff/rules/f-string
467 "./scripts/dts/python-devicetree/tests/test_dtlib.py" = [
468 "B011", # https://docs.astral.sh/ruff/rules/assert-false
469 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
470 "E101", # https://docs.astral.sh/ruff/rules/mixed-spaces-and-tabs
471 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
472 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
473 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
474 "UP007", # https://docs.astral.sh/ruff/rules/non-pep604-annotation
476 "./scripts/dts/python-devicetree/tests/test_edtlib.py" = [
477 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
478 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
479 "E701", # https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-colon
480 "E731", # https://docs.astral.sh/ruff/rules/lambda-assignment
481 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
482 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
483 "SIM117", # https://docs.astral.sh/ruff/rules/multiple-with-statements
486 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
487 "SIM110", # https://docs.astral.sh/ruff/rules/reimplemented-builtin
488 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
489 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
492 "B023", # https://docs.astral.sh/ruff/rules/function-uses-loop-variable
493 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
494 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
495 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
498 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
499 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
500 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
501 "SIM401", # https://docs.astral.sh/ruff/rules/if-else-block-instead-of-dict-get
502 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
505 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
506 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
509 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
510 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
511 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
512 "SIM118", # https://docs.astral.sh/ruff/rules/in-dict-keys
513 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
516 "SIM105", # https://docs.astral.sh/ruff/rules/suppressible-exception
517 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
518 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
521 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
522 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
523 "SIM103", # https://docs.astral.sh/ruff/rules/needless-bool
524 "UP038", # https://docs.astral.sh/ruff/rules/non-pep604-isinstance
527 "B904", # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except
528 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
529 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
530 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
531 "UP032", # https://docs.astral.sh/ruff/rules/f-string
534 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
535 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
536 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
539 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
540 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
541 "UP030", # https://docs.astral.sh/ruff/rules/format-literals
542 "UP032", # https://docs.astral.sh/ruff/rules/f-string
545 "B006", # https://docs.astral.sh/ruff/rules/mutable-argument-default
546 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
547 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
548 "F403", # https://docs.astral.sh/ruff/rules/undefined-local-with-import-star
549 "F405", # https://docs.astral.sh/ruff/rules/undefined-local-with-import-star-usage
550 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
551 "UP024", # https://docs.astral.sh/ruff/rules/os-error-alias
552 "UP032", # https://docs.astral.sh/ruff/rules/f-string
553 "UP038", # https://docs.astral.sh/ruff/rules/non-pep604-isinstance
556 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
557 "UP032", # https://docs.astral.sh/ruff/rules/f-string
560 "B011", # https://docs.astral.sh/ruff/rules/assert-false
561 "SIM114", # https://docs.astral.sh/ruff/rules/if-with-same-arms
562 "SIM118", # https://docs.astral.sh/ruff/rules/in-dict-keys
563 "UP032", # https://docs.astral.sh/ruff/rules/f-string
566 "B904", # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except
567 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
568 "F841", # https://docs.astral.sh/ruff/rules/unused-variable
569 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
570 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
571 "SIM105", # https://docs.astral.sh/ruff/rules/suppressible-exception
572 "SIM112", # https://docs.astral.sh/ruff/rules/uncapitalized-environment-variables
573 "UP004", # https://docs.astral.sh/ruff/rules/useless-object-inheritance
574 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
575 "UP024", # https://docs.astral.sh/ruff/rules/os-error-alias
576 "UP032", # https://docs.astral.sh/ruff/rules/f-string
579 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
580 "UP032", # https://docs.astral.sh/ruff/rules/f-string
583 "B006", # https://docs.astral.sh/ruff/rules/mutable-argument-default
584 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
585 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
586 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
587 "SIM105", # https://docs.astral.sh/ruff/rules/suppressible-exception
588 "UP010", # https://docs.astral.sh/ruff/rules/unnecessary-future-import
589 "UP024", # https://docs.astral.sh/ruff/rules/os-error-alias
590 "UP032", # https://docs.astral.sh/ruff/rules/f-string
591 "UP036", # https://docs.astral.sh/ruff/rules/outdated-version-block
592 "UP038", # https://docs.astral.sh/ruff/rules/non-pep604-isinstance
595 "E731", # https://docs.astral.sh/ruff/rules/lambda-assignment
596 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
597 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
598 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
599 "UP007", # https://docs.astral.sh/ruff/rules/non-pep604-annotation
600 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
601 "UP032", # https://docs.astral.sh/ruff/rules/f-string
602 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
605 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
606 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
607 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
608 "UP032", # https://docs.astral.sh/ruff/rules/f-string
609 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
612 "E713", # https://docs.astral.sh/ruff/rules/not-in-test
613 "E741", # https://docs.astral.sh/ruff/rules/ambiguous-variable-name
614 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
615 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
616 "SIM103", # https://docs.astral.sh/ruff/rules/needless-bool
617 "SIM113", # https://docs.astral.sh/ruff/rules/enumerate-for-loop
618 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
621 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
622 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
625 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
626 "SIM103", # https://docs.astral.sh/ruff/rules/needless-bool
627 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
628 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
631 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
634 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
635 "UP030", # https://docs.astral.sh/ruff/rules/format-literals
636 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
637 "UP032", # https://docs.astral.sh/ruff/rules/f-string
640 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
641 "SIM401", # https://docs.astral.sh/ruff/rules/if-else-block-instead-of-dict-get
644 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
647 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
650 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
651 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
654 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
655 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
658 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
661 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
662 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
663 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
664 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
665 "UP033", # https://docs.astral.sh/ruff/rules/lru-cache-with-maxsize-none
667 "./scripts/pylib/build_helpers/domains.py" = [
668 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
669 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
670 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
672 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/binary_adapter.py" = [
673 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
674 "SIM103", # https://docs.astral.sh/ruff/rules/needless-bool
676 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/device_adapter.py" = [
677 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
678 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
680 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/factory.py" = [
681 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
682 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
683 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
685 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/fifo_handler.py" = [
686 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
687 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
689 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/hardware_adapter.py" = [
690 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
691 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
692 "UP024", # https://docs.astral.sh/ruff/rules/os-error-alias
694 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/qemu_adapter.py" = [
695 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
696 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
698 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/utils.py" = [
699 "SIM105", # https://docs.astral.sh/ruff/rules/suppressible-exception
701 "./scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures.py" = [
702 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
703 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
704 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
705 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
707 "./scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/domains_helper.py" = [
708 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
709 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
710 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
712 "./scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/shell.py" = [
713 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
714 "E741", # https://docs.astral.sh/ruff/rules/ambiguous-variable-name
715 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
716 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
718 "./scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/utils.py" = [
719 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
720 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
722 "./scripts/pylib/pytest-twister-harness/src/twister_harness/twister_harness_config.py" = [
723 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
724 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
726 "./scripts/pylib/pytest-twister-harness/tests/conftest.py" = [
727 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
728 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
729 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
731 "./scripts/pylib/pytest-twister-harness/tests/device/binary_adapter_test.py" = [
732 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
733 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
734 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
735 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
737 "./scripts/pylib/pytest-twister-harness/tests/device/hardware_adapter_test.py" = [
738 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
739 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
740 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
742 "./scripts/pylib/pytest-twister-harness/tests/device/qemu_adapter_test.py" = [
743 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
744 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
745 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
746 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
748 "./scripts/pylib/pytest-twister-harness/tests/helpers/shell_test.py" = [
749 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
751 "./scripts/pylib/pytest-twister-harness/tests/resources/fifo_mock.py" = [
752 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
753 "UP012", # https://docs.astral.sh/ruff/rules/unnecessary-encode-utf8
755 "./scripts/pylib/twister/expr_parser.py" = [
756 "SIM103", # https://docs.astral.sh/ruff/rules/needless-bool
757 "SIM110", # https://docs.astral.sh/ruff/rules/reimplemented-builtin
758 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
759 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
761 "./scripts/pylib/twister/scl.py" = [
762 "F401", # https://docs.astral.sh/ruff/rules/unused-import
763 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
764 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
765 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
767 "./scripts/pylib/twister/twisterlib/testplan.py" = [
768 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
769 "F401", # https://docs.astral.sh/ruff/rules/unused-import
771 "./scripts/pylint/checkers/argparse-checker.py" = [
772 "F821", # https://docs.astral.sh/ruff/rules/undefined-name
773 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
776 "B010", # https://docs.astral.sh/ruff/rules/set-attr-with-constant
777 "B904", # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except
778 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
779 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
780 "UP004", # https://docs.astral.sh/ruff/rules/useless-object-inheritance
781 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
782 "UP030", # https://docs.astral.sh/ruff/rules/format-literals
783 "UP032", # https://docs.astral.sh/ruff/rules/f-string
786 "B009", # https://docs.astral.sh/ruff/rules/get-attr-with-constant
787 "B010", # https://docs.astral.sh/ruff/rules/set-attr-with-constant
788 "B904", # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except
789 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
790 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
791 "UP004", # https://docs.astral.sh/ruff/rules/useless-object-inheritance
792 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
793 "UP030", # https://docs.astral.sh/ruff/rules/format-literals
794 "UP032", # https://docs.astral.sh/ruff/rules/f-string
797 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
798 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
799 "SIM117", # https://docs.astral.sh/ruff/rules/multiple-with-statements
800 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
801 "UP007", # https://docs.astral.sh/ruff/rules/non-pep604-annotation
802 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
805 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
806 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
807 "E741", # https://docs.astral.sh/ruff/rules/ambiguous-variable-name
808 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
809 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
810 "SIM113", # https://docs.astral.sh/ruff/rules/enumerate-for-loop
813 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
814 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
815 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
816 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
818 "./scripts/support/quartus-flash.py" = [
819 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
820 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
821 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
823 "./scripts/tests/twister/conftest.py" = [
824 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
825 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
827 "./scripts/tests/twister/pytest_integration/test_harness_pytest.py" = [
828 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
830 "./scripts/tests/twister/test_cmakecache.py" = [
831 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
832 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
833 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
835 "./scripts/tests/twister/test_config_parser.py" = [
836 "B017", # https://docs.astral.sh/ruff/rules/assert-raises-exception
837 "B033", # https://docs.astral.sh/ruff/rules/duplicate-value
838 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
839 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
840 "SIM117", # https://docs.astral.sh/ruff/rules/multiple-with-statements
841 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
843 "./scripts/tests/twister/test_data/mixins/test_to_ignore.py" = [
844 "B011", # https://docs.astral.sh/ruff/rules/assert-false
846 "./scripts/tests/twister/test_environment.py" = [
847 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
848 "SIM117", # https://docs.astral.sh/ruff/rules/multiple-with-statements
849 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
851 "./scripts/tests/twister/test_errors.py" = [
852 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
854 "./scripts/tests/twister/test_handlers.py" = [
855 "B011", # https://docs.astral.sh/ruff/rules/assert-false
856 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
857 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
858 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
859 "UP012", # https://docs.astral.sh/ruff/rules/unnecessary-encode-utf8
860 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
862 "./scripts/tests/twister/test_hardwaremap.py" = [
863 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
864 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
865 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
867 "./scripts/tests/twister/test_harness.py" = [
868 "B017", # https://docs.astral.sh/ruff/rules/assert-raises-exception
869 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
870 "E713", # https://docs.astral.sh/ruff/rules/not-in-test
871 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
872 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
873 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
875 "./scripts/tests/twister/test_jobserver.py" = [
876 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
877 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
878 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
880 "./scripts/tests/twister/test_log_helper.py" = [
881 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
882 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
884 "./scripts/tests/twister/test_platform.py" = [
885 "B011", # https://docs.astral.sh/ruff/rules/assert-false
886 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
887 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
888 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
890 "./scripts/tests/twister/test_quarantine.py" = [
891 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
892 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
894 "./scripts/tests/twister/test_runner.py" = [
895 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
896 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
897 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
898 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
899 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
900 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
901 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
903 "./scripts/tests/twister/test_scl.py" = [
904 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
905 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
906 "SIM117", # https://docs.astral.sh/ruff/rules/multiple-with-statements
907 "UP025", # https://docs.astral.sh/ruff/rules/unicode-kind-prefix
908 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
910 "./scripts/tests/twister/test_testinstance.py" = [
911 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
912 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
913 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
914 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
916 "./scripts/tests/twister/test_testplan.py" = [
917 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
918 "E101", # https://docs.astral.sh/ruff/rules/mixed-spaces-and-tabs
919 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
920 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
921 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
922 "SIM118", # https://docs.astral.sh/ruff/rules/in-dict-keys
923 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
924 "W191", # https://docs.astral.sh/ruff/rules/tab-indentation
926 "./scripts/tests/twister/test_testsuite.py" = [
927 "B011", # https://docs.astral.sh/ruff/rules/assert-false
928 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
929 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
930 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
932 "./scripts/tests/twister/test_twister.py" = [
933 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
934 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
935 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
936 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
938 "./scripts/tests/twister_blackbox/conftest.py" = [
939 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
940 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
942 "./scripts/tests/twister_blackbox/test_addon.py" = [
943 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
944 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
945 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
947 "./scripts/tests/twister_blackbox/test_config.py" = [
948 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
949 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
950 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
952 "./scripts/tests/twister_blackbox/test_coverage.py" = [
953 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
954 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
955 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
956 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
957 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
959 "./scripts/tests/twister_blackbox/test_data/tests/pytest/pytest/test_sample.py" = [
960 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
961 "SIM112", # https://docs.astral.sh/ruff/rules/uncapitalized-environment-variables
963 "./scripts/tests/twister_blackbox/test_device.py" = [
964 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
965 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
966 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
967 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
968 "UP032", # https://docs.astral.sh/ruff/rules/f-string
970 "./scripts/tests/twister_blackbox/test_disable.py" = [
971 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
972 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
973 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
974 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
976 "./scripts/tests/twister_blackbox/test_error.py" = [
977 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
978 "E721", # https://docs.astral.sh/ruff/rules/type-comparison
979 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
980 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
982 "./scripts/tests/twister_blackbox/test_filter.py" = [
983 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
984 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
985 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
987 "./scripts/tests/twister_blackbox/test_footprint.py" = [
988 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
989 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
990 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
992 "./scripts/tests/twister_blackbox/test_hardwaremap.py" = [
993 "B007", # https://docs.astral.sh/ruff/rules/unused-loop-control-variable
994 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
995 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
996 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
998 "./scripts/tests/twister_blackbox/test_outfile.py" = [
999 "B011", # https://docs.astral.sh/ruff/rules/assert-false
1000 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1001 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1002 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1003 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
1005 "./scripts/tests/twister_blackbox/test_output.py" = [
1006 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1007 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1008 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1009 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
1011 "./scripts/tests/twister_blackbox/test_platform.py" = [
1012 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1013 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1014 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1015 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
1017 "./scripts/tests/twister_blackbox/test_printouts.py" = [
1018 "B011", # https://docs.astral.sh/ruff/rules/assert-false
1019 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1020 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1021 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
1023 "./scripts/tests/twister_blackbox/test_quarantine.py" = [
1024 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1025 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1026 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1027 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
1029 "./scripts/tests/twister_blackbox/test_report.py" = [
1030 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1031 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1032 "E701", # https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-colon
1033 "E713", # https://docs.astral.sh/ruff/rules/not-in-test
1034 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1035 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1036 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
1037 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
1039 "./scripts/tests/twister_blackbox/test_runner.py" = [
1040 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1041 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1042 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1043 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1044 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
1046 "./scripts/tests/twister_blackbox/test_shuffle.py" = [
1047 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1048 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1049 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
1051 "./scripts/tests/twister_blackbox/test_testlist.py" = [
1052 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1053 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1054 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
1056 "./scripts/tests/twister_blackbox/test_testplan.py" = [
1057 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1058 "E721", # https://docs.astral.sh/ruff/rules/type-comparison
1059 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1060 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
1062 "./scripts/tests/twister_blackbox/test_tooling.py" = [
1063 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1064 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1065 "UP026", # https://docs.astral.sh/ruff/rules/deprecated-mock-import
1068 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1069 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1072 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1073 "UP012", # https://docs.astral.sh/ruff/rules/unnecessary-encode-utf8
1074 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1077 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1078 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1081 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1084 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1085 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1086 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
1087 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
1090 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1091 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1092 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1095 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1096 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1099 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1100 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1103 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1104 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
1105 "UP004", # https://docs.astral.sh/ruff/rules/useless-object-inheritance
1106 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
1107 "UP007", # https://docs.astral.sh/ruff/rules/non-pep604-annotation
1108 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
1111 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1112 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1113 "UP038", # https://docs.astral.sh/ruff/rules/non-pep604-isinstance
1116 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1117 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1120 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1121 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1122 "SIM105", # https://docs.astral.sh/ruff/rules/suppressible-exception
1123 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1124 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
1125 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1128 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
1129 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1130 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1133 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
1134 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1137 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1138 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1141 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1144 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1147 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1148 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
1149 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
1152 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1153 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
1156 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1157 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1160 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1161 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1164 "B904", # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except
1165 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1166 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1167 "E741", # https://docs.astral.sh/ruff/rules/ambiguous-variable-name
1168 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1169 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1170 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
1171 "SIM114", # https://docs.astral.sh/ruff/rules/if-with-same-arms
1172 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
1173 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1176 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1177 "E713", # https://docs.astral.sh/ruff/rules/not-in-test
1178 "E741", # https://docs.astral.sh/ruff/rules/ambiguous-variable-name
1179 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1180 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1181 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
1182 "SIM300", # https://docs.astral.sh/ruff/rules/yoda-conditions
1185 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1186 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1187 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1188 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1191 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1192 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1195 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1196 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1197 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1199 "./scripts/west_commands/tests/conftest.py" = [
1200 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1202 "./scripts/west_commands/tests/test_blackmagicprobe.py" = [
1203 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1204 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1206 "./scripts/west_commands/tests/test_bossac.py" = [
1207 "E101", # https://docs.astral.sh/ruff/rules/mixed-spaces-and-tabs
1208 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1209 "SIM117", # https://docs.astral.sh/ruff/rules/multiple-with-statements
1210 "W191", # https://docs.astral.sh/ruff/rules/tab-indentation
1212 "./scripts/west_commands/tests/test_build.py" = [
1213 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1215 "./scripts/west_commands/tests/test_canopen_program.py" = [
1216 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1217 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1219 "./scripts/west_commands/tests/test_dediprog.py" = [
1220 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1222 "./scripts/west_commands/tests/test_dfu_util.py" = [
1223 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1224 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1226 "./scripts/west_commands/tests/test_gd32isp.py" = [
1227 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1229 "./scripts/west_commands/tests/test_mdb.py" = [
1230 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1231 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1233 "./scripts/west_commands/tests/test_nrf.py" = [
1234 "B011", # https://docs.astral.sh/ruff/rules/assert-false
1235 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1236 "UP007", # https://docs.astral.sh/ruff/rules/non-pep604-annotation
1238 "./scripts/west_commands/tests/test_nxp_s32dbg.py" = [
1239 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1240 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1242 "./scripts/west_commands/tests/test_pyocd.py" = [
1243 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1244 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1246 "./scripts/west_commands/tests/test_stm32cubeprogrammer.py" = [
1247 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1249 "./scripts/west_commands/tests/test_stm32flash.py" = [
1250 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1251 "SIM117", # https://docs.astral.sh/ruff/rules/multiple-with-statements
1253 "./scripts/west_commands/tests/test_xsdb.py" = [
1254 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1257 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
1258 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1259 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1260 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1263 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1264 "SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
1265 "SIM114", # https://docs.astral.sh/ruff/rules/if-with-same-arms
1266 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
1267 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1270 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
1273 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1274 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1275 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1278 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1279 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1280 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1281 "SIM116", # https://docs.astral.sh/ruff/rules/if-else-block-instead-of-dict-lookup
1282 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
1285 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1288 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1289 "UP021", # https://docs.astral.sh/ruff/rules/replace-universal-newlines
1290 "UP022", # https://docs.astral.sh/ruff/rules/replace-stdout-stderr
1293 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1294 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1295 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
1296 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1299 "SIM113", # https://docs.astral.sh/ruff/rules/enumerate-for-loop
1300 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1301 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
1304 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1305 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1306 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1307 "UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1310 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1311 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1312 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1315 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1316 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1317 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1320 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1321 "E701", # https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-colon
1322 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1323 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1324 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
1325 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
1328 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1329 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1330 "SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
1331 "SIM201", # https://docs.astral.sh/ruff/rules/negate-equal-op
1332 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
1334 "./soc/intel/intel_adsp/tools/remote-fw-service.py" = [
1335 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1336 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1337 "UP012", # https://docs.astral.sh/ruff/rules/unnecessary-encode-utf8
1338 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
1341 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1342 "UP009", # https://docs.astral.sh/ruff/rules/utf8-encoding-declaration
1345 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1346 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1347 "UP030", # https://docs.astral.sh/ruff/rules/format-literals
1348 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1351 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1352 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1353 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1356 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1357 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1360 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1361 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1362 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1365 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1366 "SIM110", # https://docs.astral.sh/ruff/rules/reimplemented-builtin
1367 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
1370 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1372 "./tests/boot/with_mcumgr/pytest/west_sign_wrapper.py" = [
1373 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1374 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
1376 "./tests/drivers/can/host/pytest/can_shell.py" = [
1377 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1378 "SIM401", # https://docs.astral.sh/ruff/rules/if-else-block-instead-of-dict-get
1379 "UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
1380 "UP007", # https://docs.astral.sh/ruff/rules/non-pep604-annotation
1381 "UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
1383 "./tests/drivers/can/host/pytest/test_can.py" = [
1384 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1385 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
1387 "./tests/kernel/timer/timer_behavior/pytest/saleae_logic2.py" = [
1388 "B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
1389 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1391 "./tests/kernel/timer/timer_behavior/pytest/test_timer.py" = [
1392 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1393 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1395 "./tests/misc/check_init_priorities/validate_check_init_priorities_output.py" = [
1396 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1397 "UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
1399 "./tests/net/lib/lwm2m/interop/pytest/conftest.py" = [
1400 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1401 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1403 "./tests/net/lib/lwm2m/interop/pytest/leshan.py" = [
1404 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1405 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1406 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1408 "./tests/net/lib/lwm2m/interop/pytest/test_bootstrap.py" = [
1409 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1410 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1412 "./tests/net/lib/lwm2m/interop/pytest/test_lwm2m.py" = [
1413 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1414 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1415 "SIM118", # https://docs.astral.sh/ruff/rules/in-dict-keys
1416 "UP018", # https://docs.astral.sh/ruff/rules/native-literals
1418 "./tests/net/lib/lwm2m/interop/pytest/test_nosec.py" = [
1419 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1420 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1422 "./tests/net/lib/lwm2m/interop/pytest/test_portfolio.py" = [
1423 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1424 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1425 "SIM118", # https://docs.astral.sh/ruff/rules/in-dict-keys
1427 "./tests/net/socket/tls_configurations/pytest/test_app_vs_openssl.py" = [
1428 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1429 "UP032", # https://docs.astral.sh/ruff/rules/f-string
1431 "./tests/subsys/debug/gdbstub/pytest/test_gdbstub.py" = [
1432 "E402", # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file
1433 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1434 "F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1435 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1437 "./tests/ztest/ztest_param/pytest/test_parameters.py" = [
1438 "E501", # https://docs.astral.sh/ruff/rules/line-too-long
1439 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1457 "./doc/_extensions/zephyr/dtcompatible-role.py",
1462 "./doc/_extensions/zephyr/link-roles.py",
1470 "./samples/modules/tflite-micro/magic_wand/train/data_augmentation.py",
1471 "./samples/modules/tflite-micro/magic_wand/train/data_augmentation_test.py",
1472 "./samples/modules/tflite-micro/magic_wand/train/data_load.py",
1473 "./samples/modules/tflite-micro/magic_wand/train/data_load_test.py",
1474 "./samples/modules/tflite-micro/magic_wand/train/data_prepare.py",
1475 "./samples/modules/tflite-micro/magic_wand/train/data_prepare_test.py",
1476 "./samples/modules/tflite-micro/magic_wand/train/data_split.py",
1477 "./samples/modules/tflite-micro/magic_wand/train/data_split_person.py",
1478 "./samples/modules/tflite-micro/magic_wand/train/data_split_person_test.py",
1479 "./samples/modules/tflite-micro/magic_wand/train/data_split_test.py",
1480 "./samples/modules/tflite-micro/magic_wand/train/train.py",
1481 "./samples/modules/tflite-micro/magic_wand/train/train_test.py",
1541 "./scripts/dts/python-devicetree/src/devicetree/_private.py",
1542 "./scripts/dts/python-devicetree/src/devicetree/dtlib.py",
1543 "./scripts/dts/python-devicetree/src/devicetree/edtlib.py",
1544 "./scripts/dts/python-devicetree/src/devicetree/grutils.py",
1545 "./scripts/dts/python-devicetree/tests/test_dtlib.py",
1546 "./scripts/dts/python-devicetree/tests/test_edtlib.py",
1580 "./scripts/pylib/build_helpers/domains.py",
1581 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/binary_adapter.py",
1582 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/device_adapter.py",
1583 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/fifo_handler.py",
1584 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/hardware_adapter.py",
1585 "./scripts/pylib/pytest-twister-harness/src/twister_harness/device/qemu_adapter.py",
1586 "./scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures.py",
1587 "./scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/mcumgr.py",
1588 "./scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/shell.py",
1589 "./scripts/pylib/pytest-twister-harness/src/twister_harness/plugin.py",
1590 "./scripts/pylib/pytest-twister-harness/src/twister_harness/twister_harness_config.py",
1591 "./scripts/pylib/pytest-twister-harness/tests/conftest.py",
1592 "./scripts/pylib/pytest-twister-harness/tests/device/binary_adapter_test.py",
1593 "./scripts/pylib/pytest-twister-harness/tests/device/hardware_adapter_test.py",
1594 "./scripts/pylib/pytest-twister-harness/tests/device/qemu_adapter_test.py",
1595 "./scripts/pylib/pytest-twister-harness/tests/helpers/shell_test.py",
1596 "./scripts/pylib/pytest-twister-harness/tests/plugin_test.py",
1597 "./scripts/pylib/twister/expr_parser.py",
1598 "./scripts/pylib/twister/scl.py",
1599 "./scripts/pylib/twister/twisterlib/cmakecache.py",
1600 "./scripts/pylib/twister/twisterlib/config_parser.py",
1601 "./scripts/pylib/twister/twisterlib/coverage.py",
1602 "./scripts/pylib/twister/twisterlib/environment.py",
1603 "./scripts/pylib/twister/twisterlib/error.py",
1604 "./scripts/pylib/twister/twisterlib/handlers.py",
1605 "./scripts/pylib/twister/twisterlib/hardwaremap.py",
1606 "./scripts/pylib/twister/twisterlib/harness.py",
1607 "./scripts/pylib/twister/twisterlib/jobserver.py",
1608 "./scripts/pylib/twister/twisterlib/log_helper.py",
1609 "./scripts/pylib/twister/twisterlib/package.py",
1610 "./scripts/pylib/twister/twisterlib/platform.py",
1611 "./scripts/pylib/twister/twisterlib/quarantine.py",
1612 "./scripts/pylib/twister/twisterlib/reports.py",
1613 "./scripts/pylib/twister/twisterlib/runner.py",
1614 "./scripts/pylib/twister/twisterlib/size_calc.py",
1615 "./scripts/pylib/twister/twisterlib/statuses.py",
1616 "./scripts/pylib/twister/twisterlib/testinstance.py",
1617 "./scripts/pylib/twister/twisterlib/testplan.py",
1618 "./scripts/pylib/twister/twisterlib/testsuite.py",
1619 "./scripts/pylib/twister/twisterlib/twister_main.py",
1620 "./scripts/pylint/checkers/argparse-checker.py",
1626 "./scripts/support/quartus-flash.py",
1627 "./scripts/tests/twister/conftest.py",
1628 "./scripts/tests/twister/pytest_integration/test_harness_pytest.py",
1629 "./scripts/tests/twister/test_cmakecache.py",
1630 "./scripts/tests/twister/test_config_parser.py",
1631 "./scripts/tests/twister/test_environment.py",
1632 "./scripts/tests/twister/test_errors.py",
1633 "./scripts/tests/twister/test_handlers.py",
1634 "./scripts/tests/twister/test_hardwaremap.py",
1635 "./scripts/tests/twister/test_harness.py",
1636 "./scripts/tests/twister/test_jobserver.py",
1637 "./scripts/tests/twister/test_log_helper.py",
1638 "./scripts/tests/twister/test_platform.py",
1639 "./scripts/tests/twister/test_quarantine.py",
1640 "./scripts/tests/twister/test_runner.py",
1641 "./scripts/tests/twister/test_scl.py",
1642 "./scripts/tests/twister/test_testinstance.py",
1643 "./scripts/tests/twister/test_testplan.py",
1644 "./scripts/tests/twister/test_testsuite.py",
1645 "./scripts/tests/twister/test_twister.py",
1646 "./scripts/tests/twister_blackbox/conftest.py",
1647 "./scripts/tests/twister_blackbox/test_addon.py",
1648 "./scripts/tests/twister_blackbox/test_config.py",
1649 "./scripts/tests/twister_blackbox/test_coverage.py",
1650 "./scripts/tests/twister_blackbox/test_data/tests/pytest/pytest/conftest.py",
1651 "./scripts/tests/twister_blackbox/test_data/tests/pytest/pytest/test_sample.py",
1652 "./scripts/tests/twister_blackbox/test_device.py",
1653 "./scripts/tests/twister_blackbox/test_disable.py",
1654 "./scripts/tests/twister_blackbox/test_error.py",
1655 "./scripts/tests/twister_blackbox/test_filter.py",
1656 "./scripts/tests/twister_blackbox/test_footprint.py",
1657 "./scripts/tests/twister_blackbox/test_hardwaremap.py",
1658 "./scripts/tests/twister_blackbox/test_outfile.py",
1659 "./scripts/tests/twister_blackbox/test_output.py",
1660 "./scripts/tests/twister_blackbox/test_platform.py",
1661 "./scripts/tests/twister_blackbox/test_printouts.py",
1662 "./scripts/tests/twister_blackbox/test_quarantine.py",
1663 "./scripts/tests/twister_blackbox/test_report.py",
1664 "./scripts/tests/twister_blackbox/test_runner.py",
1665 "./scripts/tests/twister_blackbox/test_shuffle.py",
1666 "./scripts/tests/twister_blackbox/test_testlist.py",
1667 "./scripts/tests/twister_blackbox/test_testplan.py",
1668 "./scripts/tests/twister_blackbox/test_tooling.py",
1724 "./scripts/west_commands/runners/renode-robot.py",
1740 "./scripts/west_commands/tests/conftest.py",
1741 "./scripts/west_commands/tests/test_blackmagicprobe.py",
1742 "./scripts/west_commands/tests/test_bossac.py",
1743 "./scripts/west_commands/tests/test_build.py",
1744 "./scripts/west_commands/tests/test_canopen_program.py",
1745 "./scripts/west_commands/tests/test_dediprog.py",
1746 "./scripts/west_commands/tests/test_dfu_util.py",
1747 "./scripts/west_commands/tests/test_gd32isp.py",
1748 "./scripts/west_commands/tests/test_imports.py",
1749 "./scripts/west_commands/tests/test_mdb.py",
1750 "./scripts/west_commands/tests/test_nrf.py",
1751 "./scripts/west_commands/tests/test_nxp_s32dbg.py",
1752 "./scripts/west_commands/tests/test_pyocd.py",
1753 "./scripts/west_commands/tests/test_stm32cubeprogrammer.py",
1754 "./scripts/west_commands/tests/test_stm32flash.py",
1755 "./scripts/west_commands/tests/test_twister.py",
1768 "./soc/intel/intel_adsp/tools/remote-fw-service.py",
1776 "./tests/boot/with_mcumgr/pytest/test_downgrade_prevention.py",
1777 "./tests/boot/with_mcumgr/pytest/test_upgrade.py",
1778 "./tests/boot/with_mcumgr/pytest/west_sign_wrapper.py",
1779 "./tests/drivers/can/host/pytest/can_shell.py",
1780 "./tests/drivers/can/host/pytest/conftest.py",
1781 "./tests/drivers/can/host/pytest/test_can.py",
1782 "./tests/kernel/timer/timer_behavior/pytest/saleae_logic2.py",
1783 "./tests/kernel/timer/timer_behavior/pytest/test_timer.py",
1784 "./tests/misc/check_init_priorities/validate_check_init_priorities_output.py",
1785 "./tests/misc/llext-edk/pytest/test_edk.py",
1786 "./tests/net/lib/lwm2m/interop/pytest/conftest.py",
1787 "./tests/net/lib/lwm2m/interop/pytest/leshan.py",
1788 "./tests/net/lib/lwm2m/interop/pytest/test_blockwise.py",
1789 "./tests/net/lib/lwm2m/interop/pytest/test_bootstrap.py",
1790 "./tests/net/lib/lwm2m/interop/pytest/test_lwm2m.py",
1791 "./tests/net/lib/lwm2m/interop/pytest/test_nosec.py",
1792 "./tests/net/lib/lwm2m/interop/pytest/test_portfolio.py",
1793 "./tests/net/socket/tls_configurations/pytest/test_app_vs_openssl.py",
1794 "./tests/net/socket/udp/generate-c-string.py",
1795 "./tests/subsys/debug/gdbstub/pytest/test_gdbstub.py",
1796 "./tests/subsys/logging/dictionary/pytest/test_logging_dictionary.py",
1797 "./tests/ztest/ztest_param/pytest/test_parameters.py",