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

Turn off ALL analysis rules #2482

Closed
kiruh opened this issue Mar 16, 2022 · 4 comments
Closed

Turn off ALL analysis rules #2482

kiruh opened this issue Mar 16, 2022 · 4 comments
Labels
fixed in next version (main) A fix has been implemented and will appear in an upcoming version

Comments

@kiruh
Copy link

kiruh commented Mar 16, 2022

When python.analysis.typeCheckingMode is set to off, some analysis is still conducted and there is no way to turn it off.

I want to disable the following errors:

Generic class type cannot be assigned

Type "type-name" is already specialized

There is no way to disable them through python.analysis.diagnosticSeverityOverrides either, since there are no keys for them.

@erictraut
Copy link
Contributor

Type analysis is always conducted for code files that you open. That's needed to support basic operations like completion suggestions.

However, I think it's reasonable to move those two diagnostic messages under the reportGeneralTypeIssues diagnostic rule since they are type-related. I've made the change, and this will be in the next release.

@kiruh
Copy link
Author

kiruh commented Mar 16, 2022

Thanks 🎉

@kiruh kiruh closed this as completed Mar 16, 2022
@erictraut
Copy link
Contributor

We'll leave this open until the next release has been published.

@erictraut erictraut reopened this Mar 16, 2022
@erictraut erictraut added fixed in next version (main) A fix has been implemented and will appear in an upcoming version enhancement request and removed triage labels Mar 16, 2022
@bschnurr
Copy link
Member

This issue has been fixed in version 2022.3.2, which we've just released. You can find the changelog here: CHANGELOG.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next version (main) A fix has been implemented and will appear in an upcoming version
Projects
None yet
Development

No branches or pull requests

3 participants