Skip to content

ci(python): require Pyright validation for public types - #165

Merged
gouyt13 merged 1 commit into
mainfrom
ci/pyright-validation
Oct 27, 2026
Merged

gouyt13 merged 1 commit into
mainfrom
ci/pyright-validation

Conversation

@gouyt13

@gouyt13 gouyt13 commented Oct 27, 2026

Copy link
Copy Markdown
Member

Summary

Require Pyright in the Python 3.11/3.14 CI matrix to check public type examples and related tests. Provision Node 24 and a pinned development-only Pyright extra. Fail on errors, warnings, missing tools, or missed diagnostics for intentional invalid calls.

Testing

  • Pyright: 2 checks passed, covering 3 files and all 17 intentional invalid calls.
  • Existing editor tests: 16 passed; workflow tests: 48 passed.
  • Failure probes confirmed that missing tools, type errors, warnings, and missed expected diagnostics fail the checks.
  • Ruff, ShellCheck, workflow syntax validation, package metadata generation, and git diff --check passed. Workflow validation used a local allowlist for the existing Windows runner label, which the installed actionlint catalog does not recognize.

Local tests used Python 3.13; the actual Python 3.11/3.14 matrix remains for PR CI.

@github-actions github-actions Bot added the release:build Release category managed from the PR title label Oct 27, 2026
@gouyt13
gouyt13 merged commit 4cbb322 into main Oct 27, 2026
53 checks passed
@gouyt13
gouyt13 deleted the ci/pyright-validation branch October 27, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:build Release category managed from the PR title

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant