Skip to content

How to turn off checking python imports? #6529

Closed Answered by hovsater
igor-yusupov asked this question in General Q&A
Discussion options

You must be logged in to vote

Zed uses pyright as the language server for Python. pyright can be configured using a pyrightconfig.json file in the root of your project. You can find the available configuration options that go in that file here.

I believe what you're looking for is the configuration option reportMissingImports. It's default value is true but can easily be set to false. See this sample configuration for inspiration.

Replies: 0 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by JosephTLyons
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature [core label] python Python programming language support language An umbrella label for all programming languages syntax behaviors
2 participants