Skip to content

ci(typing): Add bundled stubs to pyright.ignore#3724

Merged
dangotbanned merged 1 commit intomainfrom
ignore-typeshed-fallback
Dec 29, 2024
Merged

ci(typing): Add bundled stubs to pyright.ignore#3724
dangotbanned merged 1 commit intomainfrom
ignore-typeshed-fallback

Conversation

@dangotbanned
Copy link
Copy Markdown
Member

@dangotbanned dangotbanned commented Dec 29, 2024

The source of these warnings is typeshed's config.

The new ignore pattern prevents the warnings that were ignored upstream from popping up here.

Examples

image

Example:
$HOME/.vscode/extensions/ms-python.vscode-pylance-2024.12.1/dist/typeshed-fallback/stdlib\builtins.pyi Overload 1 for "vars" overlaps overload 2 and returns an incompatible type Pylance(reportOverlappingOverload)

The source of these warnings is https://github.com/python/typeshed/blob/2cdda12df78275b98a5d3cdc8a92f93d596d9d5d/pyrightconfig.json
@dangotbanned dangotbanned marked this pull request as ready for review December 29, 2024 18:56
@dangotbanned dangotbanned enabled auto-merge (squash) December 29, 2024 18:56
@dangotbanned dangotbanned merged commit 7c2d97f into main Dec 29, 2024
@dangotbanned dangotbanned deleted the ignore-typeshed-fallback branch December 29, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant