← Back to issue list

lint: add ignore for new pyright

View original Github issue

Metadata

Project
rockcraft
Number
#251
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #251 added a Pyright ignore for unknown xdg fields introduced by Pyright 1.1.306 (commit e4acb2ae).

Resolution: closed resolved

Reason: The lint compatibility change was merged as commit e4acb2ae after approval from two reviewers.

Evaluated by: mr-cal-bot

No scores available.

Issue body

pyright 1.1.306 has updated checking that complains about accesses to unknown fields in `xdg`. - [ ] 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 #251 added a Pyright ignore for unknown xdg fields introduced by Pyright 1.1.306 (commit e4acb2ae).
stealth/space-bunny-alpha — closed resolved Merged PR #251 as commit e4acb2ae, adding a pyright suppression for new unknown-field diagnostics involving xdg.BaseDirectory in pyright 1.1.306.
stealth/space-bunny-alpha — closed resolved Merged PR #251, adding a pyright ignore for unknown xdg fields introduced by pyright 1.1.306.
qwen/qwen3.6-35b-a3b — — Merged a one-file change adding a pyright ignore directive to suppress warnings about unknown xdg fields introduced in pyright 1.1.306. Approved by two reviewers and passed all CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged a linting update adding a pyright ignore rule to suppress warnings about unknown field accesses in the xdg module, resolving compatibility with pyright 1.1.306.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#237 style: fix pyright config craft-cli merged Merged #237 (commit 675d42a), updating two Pyright ignore patterns so they apply recursively.
76%
#441 lint: temporary workaround for pyxdg pyright issues craft-parts closed Pyright workaround was folded into merged PR canonical/craft-parts#440 at commit 15aa1c54; #441 was closed without a separate merge.
74%
#58 lint: fix typing issues with updated pyright craft-archives merged Merged PR #58 as commit 7983916, fixing typing issues across seven files after Pyright was updated.
71%