You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm using VS Code with Pylance, and since lazy loading was introduced, using MNE is no fun at all anymore. It appears that Pylance doesn't know about any of those "lazy" imports, providing a subpar development experience:
Pylance is the default Python type & syntax checker in VS Code, which also provides completion suggestions etc.
A workaround could be to distribute (type) stubs via typeshed, which is what TensorFlow does to deal with this exact same problem.
The text was updated successfully, but these errors were encountered:
Hello, I'm using VS Code with Pylance, and since lazy loading was introduced, using MNE is no fun at all anymore. It appears that Pylance doesn't know about any of those "lazy" imports, providing a subpar development experience:
Pylance is the default Python type & syntax checker in VS Code, which also provides completion suggestions etc.
A workaround could be to distribute (type) stubs via
typeshed
, which is what TensorFlow does to deal with this exact same problem.The text was updated successfully, but these errors were encountered: