Check Python Indentation
cc_check_indentationDetects missing colons, unindented return/yield lines, and mixed tabs/spaces in Python files or directories to catch indentation errors before runtime.
Instructions
Prüft Python-Dateien auf fehlende Doppelpunkte, unindentierte return/yield-Zeilen und gemischte Tab-/Leerzeichen-Einrückung
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "cc_check_indentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Python file or directory to check | |
| recursive | No | Recurse into subdirectories when path is a directory | |
| max_issues | No | Maximum number of issues to include |