Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add all typeCheckingMode option and disable warnings when typeCheckingMode is off #49

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

DetachHead
Copy link
Owner

@DetachHead DetachHead commented Jan 24, 2024

@DetachHead DetachHead marked this pull request as draft January 24, 2024 07:44

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

Copy link
Collaborator

@KotlinIsland KotlinIsland left a comment

Choose a reason for hiding this comment

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

We could make all the default, but we might want baseline support first.

packages/pyright-internal/src/common/configOptions.ts Outdated Show resolved Hide resolved

This comment has been minimized.

@DetachHead DetachHead changed the title add all typeCheckingMode option add all typeCheckingMode option and disable warnings when typeCheckingMode is off Jan 25, 2024

This comment has been minimized.

This comment has been minimized.

Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@DetachHead DetachHead merged commit 154e0d4 into main Jan 25, 2024
10 checks passed
@DetachHead DetachHead deleted the all branch January 25, 2024 04:11
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.

typeCheckingMode = "off" should mean: off add an "all" option for typeCheckingMode
2 participants