agent/ruff.toml
jingrow 6e4a71e6c9
Some checks are pending
Agent Tests / Lint and Format (push) Waiting to run
Agent Tests / Unit Tests (push) Waiting to run
已适配jingrow
2025-05-14 14:37:30 +08:00

21 lines
436 B
TOML

line-length = 110
indent-width = 4
target-version = "py38"
[format]
quote-style = "double"
indent-style = "space"
[lint]
select = ["F", "E", "W", "I", "UP", "B", "RUF", "FA", "TCH", "C90", "RET", "SIM"]
ignore = [
"UP015", # Unnecessary open mode parameters
"SIM108", # Use ternary operator {contents} instead of if-else-block
]
[lint.mccabe]
# Flag errors (`C901`) whenever the complexity level exceeds 8
max-complexity = 8