ladybird/pyproject.toml
Zaggy1024 e12096bb92 Meta: Add a target-version declaration to ruff
This should hopefully prevent tools from suggesting changes like
converting Optional and Union to use the `|` operator.
2026-04-30 09:32:22 +02:00

14 lines
245 B
TOML

[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/
extend-select = [
"B", # flake8-bugbear
"I", # isort
]
[tool.ruff.lint.isort]
force-single-line = true
lines-between-types = 1