Partially revert 1bcc065224
This change impacts all other scripts that import those modules, while
those weren't updated.
It will be hard to maintain this list, whilst keeping the entire tree
compliant.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
31 lines
631 B
TOML
31 lines
631 B
TOML
# Copyright (c) 2024 Basalte bv
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
extend = ".ruff-excludes.toml"
|
|
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[lint]
|
|
select = [
|
|
# zephyr-keep-sorted-start
|
|
"B", # flake8-bugbear
|
|
"E", # pycodestyle
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"SIM", # flake8-simplify
|
|
"UP", # pyupgrade
|
|
"W", # pycodestyle warnings
|
|
# zephyr-keep-sorted-stop
|
|
]
|
|
|
|
ignore = [
|
|
# zephyr-keep-sorted-start
|
|
"SIM108", # Allow if-else blocks instead of forcing ternary operator
|
|
# zephyr-keep-sorted-stop
|
|
]
|
|
|
|
[format]
|
|
quote-style = "preserve"
|
|
line-ending = "lf"
|