feat(linter): Develop custom AST linter for ImGui scopes
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ This file tracks all major tracks for the project. Each track has its own detail
|
||||
*Link: [./tracks/gui_architecture_refinement_20260512/](./tracks/gui_architecture_refinement_20260512/)*
|
||||
*Goal: Reduce nesting and compactness of ImGui code in `gui_2.py`, and formalize ImGui Defer patterns.*
|
||||
|
||||
13. [ ] **Track: GUI Refactor & Stabilization**
|
||||
13. [~] **Track: GUI Refactor & Stabilization**
|
||||
*Link: [./tracks/gui_refactor_stabilization_20260512/](./tracks/gui_refactor_stabilization_20260512/)*
|
||||
*Goal: Refactor gui_2.py to fix regressions and enforce better imgui scoping patterns.*
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Implementation Plan: GUI Refactor & Stabilization
|
||||
|
||||
## Phase 1: Linting & Verification Foundations
|
||||
- [ ] Task: Develop custom AST linter for ImGui scope/indentation in `scripts/check_imgui_scopes.py`.
|
||||
- [~] Task: Develop custom AST linter for ImGui scope/indentation in `scripts/check_imgui_scopes.py`.
|
||||
- [ ] Task: Write tests for the new AST linter to ensure it catches unclosed scopes and indentation mismatches.
|
||||
- [ ] Task: Expand API hooks in `src/api_hooks.py` to better simulate complex UI interactions (e.g., specific widget clicks, drag operations).
|
||||
- [ ] Task: Write tests for the new API hooks.
|
||||
|
||||
Reference in New Issue
Block a user