SERPent / pyproject.toml
Claude
Claude Opus 5
Housekeeping: lint in CI, client lifecycle, and a truer breaker signal
9841346 unverified
Raw
History Blame Contribute Delete
685 Bytes
# Lint configuration. The rule set is deliberately small: this repo had no
# linter, and the first pass found a duplicate import shadowing another, four
# unused imports and an f-string with no placeholders - all of which a
# default pyflakes-equivalent catches. Widen the selection when the team
# wants more, rather than starting from a large set and adding ignores.
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"F", # pyflakes: unused/duplicate imports, f-strings without placeholders
"E9", # syntax and IO errors
"B", # bugbear: likely-wrong constructs
]
ignore = [
"B008", # FastAPI's Depends()/Field() in defaults is the documented idiom
]