Replies: 1 comment
-
Moved the question to the |
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
-
I'm preparing a prebuilt devcontainer image for a training 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
This issue occurs regardless of whether the devcontainer is opened inside VS Code Desktop, a GitHub Codespace, and also regardless of whether the container is ran locally or not.
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 using this Codespace.Beta Was this translation helpful? Give feedback.
All reactions