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

Please suppress the Pyright errors in builtins.pyi #12680

Open
tylerlaprade opened this issue Sep 20, 2024 · 1 comment
Open

Please suppress the Pyright errors in builtins.pyi #12680

tylerlaprade opened this issue Sep 20, 2024 · 1 comment

Comments

@tylerlaprade
Copy link

Hi, I am getting 78 permanent errors any time I open up a Python project in VSCode. They are coming from builtins.pyi due to reportIncompatibleMethodOverride, reportPrivateUsage, and reportOverlappingOverload. I haven't found any way to ignore them in my pyrightconfig.json, and Eric Traut pointed me here.
image

@JelleZijlstra
Copy link
Member

Sorry to send you back and forth, but I feel this is a configuration issue in your type checker. If you're not working on typeshed itself, you shouldn't be seeing errors in the typeshed 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

No branches or pull requests

2 participants