File level diagnostic config only applies to current cell for jupyter notebook in vscode #4499
colinfang
started this conversation in
Enhancement
Replies: 1 comment
-
That makes sense given the implementation -- each notebook cell is a separate document from Pylance's perspective. We could probably make this work. Might want to wait for upvotes before investing time in it though. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment data
Here I put
# pyright: reportUnusedImport=none
on the first cell yet the lint still warns about the same error.It seems the file level config only applies to the current cell, rather than all cells below.
Beta Was this translation helpful? Give feedback.
All reactions