Skip to content

fix(writer): satisfy CodeQL mixed-returns on build_bundle#137

Merged
SupremeCommanderHedgehog merged 1 commit into
mainfrom
fix/writer-codeql-mixed-returns
Jun 21, 2026
Merged

fix(writer): satisfy CodeQL mixed-returns on build_bundle#137
SupremeCommanderHedgehog merged 1 commit into
mainfrom
fix/writer-codeql-mixed-returns

Conversation

@SupremeCommanderHedgehog

Copy link
Copy Markdown
Owner

Summary

Test plan

  • ruff check src tests && ruff format --check src tests && mypy && pytest -q — green locally (963 passed)
  • CI on this PR

Make the trailing assert_never an explicit `return assert_never(...)` so
py/mixed-returns no longer flags build_bundle. assert_never is typed
NoReturn, so mypy still accepts the return; this is a pure style fix to
quiet CodeQL alert #12.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@SupremeCommanderHedgehog SupremeCommanderHedgehog merged commit 343abbd into main Jun 21, 2026
6 checks passed
@SupremeCommanderHedgehog SupremeCommanderHedgehog deleted the fix/writer-codeql-mixed-returns branch June 21, 2026 13:03
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