clinical-nlp-api / pyproject.toml
Ayodeji Akande
Pin ruff config and fix the resulting lint findings
4dc0836
Raw
History Blame Contribute Delete
357 Bytes
[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",
]