Skip to content

Switch from pyright to basedpyright#455

Open
nikobockerman wants to merge 2 commits intomainfrom
use-basedpyright
Open

Switch from pyright to basedpyright#455
nikobockerman wants to merge 2 commits intomainfrom
use-basedpyright

Conversation

@nikobockerman
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 3, 2026 19:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI review requested due to automatic review settings March 3, 2026 19:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

{
"include": ["**"],
"typeCheckingMode": "strict"
"typeCheckingMode": "recommended"
Copy link

Copilot AI Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title indicates switching the type checker (pyright -> basedpyright), but this also relaxes the config from strict to recommended. If the intent is only the tool switch, keep typeCheckingMode as strict; otherwise please update the PR description/title to explicitly call out the change in type-checking strictness (it can materially change what CI catches).

Copilot uses AI. Check for mistakes.
"include": ["**"],
"exclude": ["aoc-main/", "solvers/cpp/cmake-conan/", "solvers/python/"],
"typeCheckingMode": "strict"
"typeCheckingMode": "recommended"
Copy link

Copilot AI Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes typeCheckingMode from strict to recommended in addition to swapping to basedpyright. If the PR is only intended to switch tooling, consider keeping strict; if loosening is intended, please call it out explicitly since it changes the CI contract for the repo root type-check.

Copilot uses AI. Check for mistakes.
{
"include": ["**"],
"typeCheckingMode": "strict"
"typeCheckingMode": "recommended"
Copy link

Copilot AI Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to switching to basedpyright, this relaxes typeCheckingMode from strict to recommended. If the goal is purely switching the checker binary, consider leaving this as strict; otherwise please document the intentional reduction in strictness in the PR description/title because it affects what failures CI will report.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants