Skip to content

docs(buildfile): typing namespace for callable and Any annotations (hephbuild/heph#690) - #178

Merged
raphaelvigee merged 1 commit into
mainfrom
claude/eager-galileo-x1o92y
Nov 27, 2026
Merged

raphaelvigee merged 1 commit into
mainfrom
claude/eager-galileo-x1o92y

Conversation

@raphaelvigee

Copy link
Copy Markdown
Member

Documents hephbuild/heph#690 (commit hephbuild/heph@4d88bf9): every BUILD file now has starlark's typing namespace, so def parameters can be typed as typing.Callable[[str], bool], typing.Any, etc.

Changes

  • Checking BUILD files guide: new "Functions and Any" section covering typing.Callable / typing.Any / typing.Iterable / typing.Never, and what lint and evaluation each check: lint checks the signature, evaluation checks only that the argument is a function. Also adds a note to heph.types: heph.types.Callable and heph.types.Any now fail and point at typing.<name>.
  • BUILD file plugin page: a typing row in the builtins table.
  • heph-expert reference (plugins.md): the same facts in short form. Plugin version bumped to 0.1.13.

Not built locally (no build env); the sidebar is unchanged because no new page was added.


Generated by Claude Code

@github-actions

Copy link
Copy Markdown

⚡ Cloudflare Pages preview

Preview https://cbf532d6.hephbuild.pages.dev
Commit 1f6c024

@raphaelvigee
raphaelvigee merged commit 8024e21 into main Nov 27, 2026
3 checks passed
@raphaelvigee
raphaelvigee deleted the claude/eager-galileo-x1o92y branch November 27, 2026 21:19
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.

2 participants