Table-and-Graph-Libs/python/pyproject.toml

80 lines
763 B
TOML
Raw Normal View History

2025-07-01 21:20:56 +08:00
[tool.ruff]
line-length = 132 # 88
indent-width = 4
target-version = "py37"
preview = true
output-format = "concise"
[tool.ruff.lint]
select = [
"F",
"E4",
"E7",
"E9",
"W",
"I",
"D",
"UP",
"YTT",
"ANN",
"S",
"BLE",
"B",
"A",
"COM819",
"C4",
"T10",
"EM",
"EXE",
"ISC",
"ICN",
"G",
"PIE",
"PYI",
"Q",
"RSE",
"RET",
"SLF",
"SLOT",
"SIM",
"TID",
"TC",
"ARG",
"PGH",
"PL",
"TRY",
"FLY",
"PERF",
"FURB",
"LOG",
"RUF"
]
ignore = [
"W191",
"D211",
"D213",
"D401",
"PLR09",
"PLR1702",
"PLR2004",
"FURB101",
"FURB167",
"RUF001",
"RUF002",
"RUF003",
"RUF023"
]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.format]
quote-style = "double"
indent-style = "tab"
skip-magic-trailing-comma = true