Skip to content

chore(resources): docstrings and wheel packaging guard - #77

Merged
millsmillsymills merged 1 commit into
phase1from
chore/resources-polish
Jun 3, 2026
Merged

millsmillsymills merged 1 commit into
phase1from
chore/resources-polish

Conversation

@millsmillsymills

Copy link
Copy Markdown
Contributor

Followup polish from the PR #75 review.

  • Add Args:/Returns: docstrings to register_resources and register_prompts (PROTO-003/004).
  • Add test_bundled_markdown_files_packaged, asserting the .md files present in flipperzero_mcp.resources equal the mapped resource set — guards against a hatch exclude/only-include silently dropping a resource from the wheel. Verified the assert fails when a file is dropped.

Closes #76

🤖 Generated with Claude Code

Add Args/Returns docstrings to register_resources and register_prompts
per PROTO-003/004. Add a test asserting the bundled markdown files in
the package match the mapped resource set, guarding against a hatch
exclude silently dropping a resource from the wheel.

Closes #76

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@millsmillsymills
millsmillsymills merged commit 8c8e4ed into phase1 Jun 3, 2026
5 checks passed
@millsmillsymills
millsmillsymills deleted the chore/resources-polish branch June 3, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Polish resource/prompt registration from PR #75 review

1 participant