feat(app-controller): modularize handlers and enforce 1-space indentation

This commit is contained in:
2026-05-13 21:26:29 -04:00
parent 34b1349c4f
commit fa4388bbe0
5 changed files with 1041 additions and 842 deletions
+20
View File
@@ -0,0 +1,20 @@
import sys
def check_indent(file_path):
with open(file_path, 'r', encoding='utf-8') as f:
lines = f.readlines()
last_indent = 0
for i, line in enumerate(lines):
stripped = line.lstrip()
if not stripped:
continue
indent = len(line) - len(line.lstrip())
if indent > last_indent + 1:
print(f"Jump at line {i+1}: '{line.rstrip()}' (Indent: {indent}, Last: {last_indent})")
last_indent = indent
if __name__ == '__main__':
check_indent('src/app_controller.py')