← 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 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.

Suggested action:

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
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
#52 api: declare public api names craft-cli merged Merged after reviewer approval and passing CI. Explicitly exports public API names to satisfy PEP-561 py.typed markers and pyright enforcement. Updated one file with twelve additions.
85%
#107 build: add py.typed craft-archives merged Merged to add a py.typed marker file, signaling PEP 561 compliance for static type checking. Approved by two reviewers, passed CI, and introduced no code changes.
72%