Skip to content

Pylance shows linting errors from excluded folders #1883

Answered by jakebailey
WizzyGeek asked this question in Q&A
Discussion options

You must be logged in to vote

"exclude" doesn't mean "don't show diagnostics", it means "don't consider these files as part of the workspace in workspace diagnostic mode".

I'm thinking you will want to be using "ignore": https://github.com/microsoft/pyright/blob/main/docs/configuration.md#main-pyright-config-options

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by WizzyGeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants