api: declare public api names (CRAFT-570)
Metadata
Current evaluation
Merged PR #78 (commit 06c2176) explicitly exported craft-providers public API names for PEP 561 py.typed compatibility.
Resolution: closed resolved
Reason: PR #78 was merged into the project after approval. Commit 06c2176 added explicit __all__ declarations so pyright could enforce the package's public API under the PEP 561 py.typed marker.
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 #78 (commit 06c2176) explicitly exported craft-providers public API names for PEP 561 py.typed compatibility. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Resolved CRAFT-570 by merging PR explicitly exporting public API names to satisfy pyright PEP-561 py.typed enforcement. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #142 api: add missing typed marker and declare public api names (CRAFT-575) | craft-parts | merged | Merged PR #142 via 47ce20b7, adding the missing PEP 561 py.typed marker and explicit public API exports for Pyright. | |
| #38 Declare public API names | craft-cli | merged | Merged PR #38 (a89b2be), adding explicit public API declarations for mypy --strict; Emitter remained non-public pending clarification. | |
| #148 plugins: export additional public api names (CRAFT-583) | craft-parts | merged | Merged PR #148 for CRAFT-583, exporting three plugin API names needed to validate parts definitions before executing a build provider. |