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

Remove --extra-checks from strict mode #15532

Closed
wants to merge 1 commit into from

Conversation

cdce8p
Copy link
Collaborator

@cdce8p cdce8p commented Jun 27, 2023

--extra-checks was added in #15425 and included in strict mode. However, as the help text says it might be impractical in real code. Thus I don't think it should be included in strict mode.

Enable additional checks that are technically correct but may be impractical in real code.

Of note, --strict-concatenate which this one replaces wasn't included in strict mode either.

/CC: @ilevkivskyi

@cdce8p cdce8p changed the title Remove --extra-checks from strict mode Remove --extra-checks from strict mode Jun 27, 2023
Copy link
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

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

Of note, --strict-concatenate which this one replaces wasn't included in strict mode either.

Well, it seems to me this is a lie.

@cdce8p
Copy link
Collaborator Author

cdce8p commented Jun 27, 2023

Of note, --strict-concatenate which this one replaces wasn't included in strict mode either.

Well, it seems to me this is a lie.

Oh sorry, I did actually miss that. Well in that case I'm going to close this.

@cdce8p cdce8p closed this Jun 27, 2023
@cdce8p cdce8p deleted the remove-extra-checks-strict branch June 27, 2023 12:25
@github-actions
Copy link
Contributor

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

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