# Tooling only (the app is run with `python -m coworker`, not installed as a package). [tool.ruff] target-version = "py313" line-length = 160 extend-exclude = ["architecture/out", "var", "var-demo", "library.git", "web", "automation", "mock-app", "desktop"] [tool.ruff.lint] # pyflakes + pycodestyle + bugbear: real mistakes, not style debates select = ["E", "F", "W", "B"] ignore = [ "B008", # FastAPI's Depends(...) in parameter defaults is the framework's own pattern "E701", "E702", # one-line `if x: y` / `a; b` are used deliberately in compact table-like code "E731", # small named lambdas used as local helpers "E741", # short names like `l` in math-like helpers "B023", # helpers defined in a loop are called in the same pass (checked: coverage_maps.py, qa/audit.py) "B905", # zip() over equal-length sequences built together "E501", # long lines: 86 existing table-like lines; reflowing them adds churn without making anything safer ] [tool.ruff.lint.per-file-ignores] "coworker/tests/*" = ["B011", "B017"] [tool.coverage.run] source = ["coworker", "triage", "reports", "qa"] omit = ["coworker/tests/*", "coworker/research_fixtures/*"]