0ad-community-mod-a26/ruff.toml
Stanislas Daniel Claude Dolcini c7064ca6f5
All checks were successful
CI Pipeline / Check Templates (PR) (push) Has been skipped
pre-commit / build (push) Successful in 25s
CI Pipeline / Package and Sign Mod (push) Has been skipped
CI Pipeline / Check Templates (All) (push) Successful in 1m16s
Make rule a bit more strict
2024-09-11 15:37:56 +03:00

56 lines
686 B
TOML

line-length = 99
[format]
line-ending = "lf"
[lint]
select = ["ALL"]
ignore = [
"ANN",
"BLE001",
"C90",
"COM812",
"D10",
"DTZ005",
"EM",
"FA",
"FIX",
"FBT",
"ISC001",
"N817",
"PERF203",
"PERF401",
"PLR0912",
"PLR0913",
"PLR0915",
"PLR2004",
"PLW2901",
"PT",
"PTH",
"RUF012",
"S101",
"S310",
"S314",
"S324",
"S320",
"S603",
"S607",
"T20",
"TD002",
"TD003",
"TRY002",
"TRY003",
"TRY004",
"TRY301",
"UP038",
"W505"
]
[lint.isort]
lines-after-imports = 2
[lint.pycodestyle]
max-doc-length = 72
[lint.pydocstyle]
convention = "pep257"