Skip to content

refactor: improve python code boundaries#10

Merged
pixelcola merged 3 commits into
mainfrom
refactor/optimize-python-code
May 13, 2026
Merged

refactor: improve python code boundaries#10
pixelcola merged 3 commits into
mainfrom
refactor/optimize-python-code

Conversation

@pixelcola
Copy link
Copy Markdown
Owner

Summary

  • Add a shared CLI error-reporting decorator so Typer command bodies keep the main flow visible
  • Split profile download into fetch, validate, and write steps with narrower error boundaries
  • Document the CLI error boundary convention in backend specs

Tests

  • UV_CACHE_DIR=/tmp/uv-cache uv run pytest
  • UV_CACHE_DIR=/tmp/uv-cache uv run ruff check src tests
  • UV_CACHE_DIR=/tmp/uv-cache uv run ty check src tests

@pixelcola pixelcola merged commit 1fcb67a into main May 13, 2026
2 checks passed
@pixelcola pixelcola deleted the refactor/optimize-python-code branch May 13, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant