Scope
nsc/cli/handlers.py (660 lines) — the largest file in the codebase.
Goal
Code review + simplify pass:
- Identify dead branches or over-defensive conditionals
- Extract any logic that belongs in a lower layer (
model/, output/)
- Reduce cyclomatic complexity where possible
- Ensure all type annotations are tight (
mypy --strict clean, no Any escapes)
- Remove or tighten comments that describe what rather than why
Files
nsc/cli/handlers.py
- Related tests:
tests/cli/
Scope
nsc/cli/handlers.py(660 lines) — the largest file in the codebase.Goal
Code review + simplify pass:
model/,output/)mypy --strictclean, noAnyescapes)Files
nsc/cli/handlers.pytests/cli/