No, it is not possible to turn off type errors from third-party packages in Pylance without modifying the code or disabling Pylance altogether. Pylance relies on type annotations to provide accurate and useful error messages, which are often provided by third-party packages. Disabling these errors may result in inaccurate and incomplete error messages. Additionally, modifying the code of third-party packages is not recommended as it can introduce unexpected behavior and make it difficult to upgrade to newer versions of the package.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-07-27 11:00:00 +0000
Seen: 9 times
Last updated: Aug 22 '22