Files
MediaManager-maxdorninger-1/ruff.toml
Marcel Hellwig 29a0d8fe5d ruff: add INP lint
this checks for missing __init__.py files, there was one :)
2026-01-05 19:30:42 +01:00

38 lines
775 B
TOML

namespace-packages = ["alembic", "metadata_relay"]
[format]
line-ending = "lf"
quote-style = "double"
[lint]
# to be enabled: ANN, BLE, C90, CPY, D, DOC, DTZ, FBT, G, INT, N, PERF, PIE, PL, PTH, RET, RSE, SLF, SIM, TC, TRY, UP
extend-select = [
"A", "ARG", "ASYNC",
"B",
"C4", "COM",
"DTZ",
"E", "EM", "EXE",
"F", "FA", "FAST", "FIX", "FLY", "FURB",
"I", "ICN", "INP", "ISC",
"LOG",
"PGH", "PT", "PYI",
"Q",
"RUF",
"S", "SLOT",
"T10", "T20", "TD", "TID",
"W",
"YTT"
]
ignore = [
# incompatible with formatter
"COM812",
# lines too long
"E501",
# currently a bug?! with providers and depends
"FAST003",
]
[lint.flake8-bugbear]
extend-immutable-calls = ["fastapi.Depends", "fastapi.Path"]