style: update type checkers
Metadata
Current evaluation
Merged in craft-providers#740 via 9e4c518, updating mypy and switching type checking to the Pyright snap.
Resolution: closed resolved
Reason: PR #740 was merged as commit 9e4c518. It updated mypy and replaced its tox invocation with Pyright from the snap.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This both updates mypy and switches to using pyright from the snap.
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in craft-providers#740 via 9e4c518, updating mypy and switching type checking to the Pyright snap. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged PR updating mypy and switching type checking to pyright from the snap. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #648 build(deps): update bugfixes | craft-providers | merged | Merged dependency updates in craft-providers#648 (commit 9a77e48): mypy 1.11.2, pyright 1.1.379, and pytest-time 0.3.2. | |
| #223 style: switch from mypy+pyright to ty | craft-platforms | merged | Merged PR #223 by lengau replaced mypy and pyright with the ty type checker in craft-platforms, dropping ~274 lines across 3 files; approved by 2 reviewers with all lint/test CI green. | |
| #201 style: enable ty as stable type checker | craft-platforms | merged | Merged in craft-platforms#201 (commit 5407de0), enabling ty as the stable type checker in regular checks while retaining pyright and mypy for now. | |
| #856 style: update mypy and fix linting issues | craft-application | merged | Merged in canonical/craft-application#856 (177c2cc4), updating mypy and fixing linting issues; all listed CI checks passed. | |
| #347 Update craft-providers | rockcraft | closed | Craft-providers was refreshed in commit bef64dc8, with import changes resolving the mypy failure left by PR #341. | |
| #479 style: drop mypy, pyright | craft-cli | merged | Merged PR #479 (commit 0e49c01) dropped the mypy and pyright type checkers in favour of ty, removing ~340 lines of type-checker config and ignore directives across 8 files; all CI checks passed. | |
| #1084 style: replace mypy and pyright with ty | craft-application | merged | Merged PR #1084 as squash commit 345bd5d9, replacing mypy and pyright with ty and updating lint configuration for craft-app 7. |