← Back to issue list

build: add py.typed

View original Github issue

Metadata

Project
craft-archives
Number
#107
Type
pull request
State
merged
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

This signals that the library supports typing. - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged the addition of a py.typed marker file to declare library typing support. The change passed automated checks and was integrated into the codebase without comments or conflicts.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#35 Make type checkers aware of type annotations craft-cli merged Merged to add a py.typed file to craft-cli, enabling static type checkers like mypy to recognize its type annotations. Approved and passed CI.
76%
#142 api: add missing typed marker and declare public api names (CRAFT-575) craft-parts merged 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.
72%