[tool.ruff] target-version = "py310" line-length = 100 [tool.ruff.lint] select = ["E4", "E7", "E9", "F", "I", "UP", "C4", "PIE", "SIM", "PERF", "G", "ISC", "B"] ignore = [ # FastAPI's `Depends(...)` in an argument default is the documented # dependency-injection pattern, not the mutable-default-argument bug # this rule targets. "B008", ]