ruff: Enable B lint

This commit is contained in:
Marcel Hellwig
2026-01-04 14:03:06 +01:00
parent 0f272052b3
commit 2c36adfd75
7 changed files with 25 additions and 21 deletions

View File

@@ -6,6 +6,7 @@ quote-style = "double"
# to be enabled: A, ANN, ARG, BLE, C90, CPY, D, DOC, DTZ, FBT, G, INP, INT, N, PERF, PIE, PL, PTH, RET, RSE, SLF, SIM, TC, TRY, UP
extend-select = [
"ASYNC",
"B",
"COM",
"E", "EXE",
"F", "FA", "FIX", "FLY", "FURB",
@@ -25,3 +26,6 @@ ignore = [
# lines too long
"E501",
]
[lint.flake8-bugbear]
extend-immutable-calls = ["fastapi.Depends", "fastapi.Path"]