Flatten deep nesting in tui.py and git_gate.py #288

Open
opened 2026-06-25 19:24:56 -04:00 by didericis-claude · 0 comments
Collaborator

From quality-eval audit (medium priority).

~80 lines nest past 5 indent levels, concentrated in bot_bottle/cli/tui.py and bot_bottle/git_gate.py.

Task: Apply guard clauses / early returns (the codebase already favors if … return None) to pull the worst offenders back under 4 indent levels. Behavior unchanged.

No PRD required (refactor).

From quality-eval audit (medium priority). ~80 lines nest past 5 indent levels, concentrated in `bot_bottle/cli/tui.py` and `bot_bottle/git_gate.py`. **Task:** Apply guard clauses / early returns (the codebase already favors `if … return None`) to pull the worst offenders back under 4 indent levels. Behavior unchanged. No PRD required (refactor).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: didericis/bot-bottle#288