Skip to content

[codex] Add autocomplete-friendly type hints#13

Merged
koaning merged 1 commit into
mainfrom
koaning/add-types-for-marimo-autocomplete
Jun 17, 2026
Merged

[codex] Add autocomplete-friendly type hints#13
koaning merged 1 commit into
mainfrom
koaning/add-types-for-marimo-autocomplete

Conversation

@koaning

@koaning koaning commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add practical inline type hints to the exported marimo notebook cells and regenerate dicekit/__init__.py.
  • Add py.typed packaging metadata so installed editors and marimo language tooling can see the types.
  • Add basedpyright type checking for the generated package, matching marimo's documented diagnostics path.
  • Fix Dice.from_numbers and add a regression test.

Validation

  • make build
  • make typecheck
  • uv run pytest -q

@koaning
koaning marked this pull request as ready for review June 17, 2026 10:11
@koaning
koaning merged commit dec2b4a into main Jun 17, 2026
2 checks passed
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