Private
Public Access
796 B
796 B
Python source code uses 1-space indentation (not 4-space, not tabs)
1. Indentation and Whitespace
- Indentation: 1 space per level. No tabs.
- Continuation lines: 1 space relative to the opening construct.
- Blank lines: Zero blank lines between function/method definitions within a class. One blank line between top-level definitions only when separating logically distinct sections.
- Trailing whitespace: None.
- Rationale: 1-space indentation reduces token count by ~40% compared to 4-space on deeply nested GUI code, with no loss of structural clarity for AST-based tools.
From conductor/workflow.md "Code Style":
- 1-space indentation for ALL Python code (NO EXCEPTIONS)
- CRLF line endings on Windows
- NO COMMENTS unless explicitly requested