code-buster 0.12.0

Repository-aware static analysis for AI-assisted development
Documentation
{
  "id": "py-compound-statement",
  "language": "python",
  "group": "style",
  "listingTitle": "Py compound statement",
  "title": "Review compound statement",
  "mvvm": false,
  "defaultSeverity": "info",
  "legacyGroup": "nim-style",
  "why": "Placing a compound statement body on its header line makes control flow easier to overlook during review.",
  "suggestion": "Move the body to its own indented line.",
  "version": 2,
  "semanticMaturity": "text",
  "securityKind": "none",
  "taxonomy": [
    "style"
  ],
  "requirements": [
    "sourceText"
  ],
  "packs": [
    "python",
    "fastapi"
  ],
  "implementation": "src/languages/python/rules.rs",
  "languages": [
    "python"
  ],
  "frameworks": [],
  "languageVersions": [],
  "limitations": [
    "Only suite colons at bracket depth zero and semicolon-separated statements are recognized.",
    "Walrus operators, slices, comprehensions, and multiline headers are excluded."
  ]
}