← Back to issue list

api: add missing typed marker and declare public api names (CRAFT-575)

View original Github issue

Metadata

Project
craft-parts
Number
#142
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #142 via 47ce20b7, adding the missing PEP 561 py.typed marker and explicit public API exports for Pyright.

Resolution: closed resolved

Reason: The public typing API work was merged into main through PR #142 with merge commit 47ce20b7.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Explicitly export public API names. This is enforced by pyright in packages with the PEP-561 `py.typed` marker. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #142 via 47ce20b7, adding the missing PEP 561 py.typed marker and explicit public API exports for Pyright.
stealth/space-bunny-alpha — closed resolved Merged into craft-parts main via #142 (47ce20b7), adding the missing PEP 561 py.typed marker and explicitly exporting public API names for pyright.
stealth/space-bunny-alpha — closed resolved Merged #142, adding the missing PEP 561 py.typed marker and explicitly exporting public API names for Pyright enforcement.
qwen/qwen3.6-35b-a3b — — Merged changes adding the missing PEP-561 py.typed marker and explicitly exporting public API names to satisfy pyright type checking. Approved by reviewer, passed CI, and updated 3 files.
qwen3.6-35b-a3b-mtp-q6 — — Merged changes adding the missing PEP-561 py.typed marker and explicitly exporting public API names to enforce pyright type checking, resolving CRAFT-575.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#78 api: declare public api names (CRAFT-570) craft-providers merged Merged PR #78 (commit 06c2176) explicitly exported craft-providers public API names for PEP 561 py.typed compatibility.
78%
#52 api: declare public api names craft-cli merged Merged PR (commit 7dfe254, merged via 6d5d9be) added an explicit __all__ to craft_cli/__init__.py listing the 11 public API names, satisfying pyright's PEP-561 py.typed enforcement.
72%