How to stop "Problems" in a notebook from being detected/shown to the user prior to running the code? #77766
Replies: 1 comment
-
Seems to be rather related to devcontainers in general than to Codespaces specifically, so I moved the question to that community: https://github.com/orgs/devcontainers/discussions/90 |
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
-
Select Topic Area
Question
Body
I'm preparing a prebuilt Codespace image for a teaching course, which will involve Python and Jupyter Notebooks. For this course, it is important that code errors are only shown to the user when the code is executed, so Linters should be disabled. I figured out how to disable Linters (Pylance), but Jupyter Notebooks still report "Problems" before the code is executed:
I think those "Problems" are reported not by Pylance (which is already disabled) but rather by the
ms-toolsai.jupyter
extension, could that be? How to turn that off?Here is the devcontainer specification I am using to build the image: https://github.com/kostrykin/mobi-devcontainer-python/blob/4c4f5e2aea0617b59d7d11fc038f7bf741aa3ff8/ingredients/.devcontainer.json
Here is the Dockerfile: https://github.com/kostrykin/mobi-devcontainer-python/blob/4c4f5e2aea0617b59d7d11fc038f7bf741aa3ff8/ingredients/Dockerfile
The image is build using
devcontainer build
as described here. The image can be tested here.Beta Was this translation helpful? Give feedback.
All reactions