Quality: ptr16 not defined in samd stubs
invalidQuality
## Problem
The symbol `ptr16` is not defined in `micropython-samd-stubs`, causing a type error when used in user code.
## Affected stub package / version
- **Package:** `micropython-samd-stubs`
- **Version:** `v1.28.0.post3`
## Affected module / symbol
- Symbol: `ptr16` (likely from `uctypes` or a port-specific module)
## Current behavior
Pyright reports:
```
"ptr16" is not defined
```
## Expected behavior
`ptr16` should be declared in the appropriate stub module (e.g., `uctypes`) so it resolves correctly under type checking.
## Parent issue
Reported in #888
Related to #888
> Generated by [quality-issue-triage](https://github.com/Josverl/micropython-stubs/actions/runs/25634753270/agentic_workflow) for issue #888 · ● 155.9K · [◷](https://github.com/search?q=repo%3AJosverl%2Fmicropython-stubs+is%3Aissue+%22gh-aw-workflow-call-id%3A+Josverl%2Fmicropython-stubs%2Fquality-issue-triage%22&type=issues)
<!-- gh-aw-agentic-workflow: quality-issue-triage, engine: copilot, version: 1.0.40, model: claude-sonnet-4.6, id: 25634753270, workflow_id: quality-issue-triage, run: https://github.com/Josverl/micropython-stubs/actions/runs/25634753270 -->
<!-- gh-aw-workflow-id: quality-issue-triage -->
<!-- gh-aw-workflow-call-id: Josverl/micropython-stubs/quality-issue-triage -->
关闭于 2026-05-10 1 条评论