mirror of
https://github.com/d3vyce/fastapi-toolsets.git
synced 2026-09-19 11:19:56 +00:00
fix: Depends(db) resolved twice in one request opens two sessions and silently discards writes
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ exclude = ["*.md"]
|
||||
extend-select = ["E712"]
|
||||
|
||||
[tool.ruff.lint.flake8-bugbear]
|
||||
extend-immutable-calls = ["fastapi.Depends"]
|
||||
extend-immutable-calls = ["fastapi.Depends", "fastapi.Security"]
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"tests/**" = ["RUF012", "RUF059", "SIM117", "DTZ001", "S110", "BLE001"]
|
||||
|
||||
Reference in New Issue
Block a user