Skip to main content

Jupyter/VSC service

Usage

Before commiting, be sure to not have errors in the linters ! The host folders are mounted this way in the docker container:

  • /home/data/ (host) <=> /data/ (container)
  • /home/<user>/ (host) <=> /home/container/ (container)

Installation

To install it follow the data-docker installation guide.

Configuration

Extensions

  • Python (ms-python)

settings.json

/home/container/.vsc/data/User/settings.json

{
"git.autofetch": true,
"git.confirmSync": false,
"editor.formatOnSave": true,
"python.formatting.blackArgs": ["--line-length=100"],
"python.formatting.provider": "black",
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": ["--max-line-length=100"],
"python.linting.mypyEnabled": true,
"python.linting.prospectorEnabled": true,
"python.linting.pycodestyleEnabled": false,
"python.linting.pydocstyleEnabled": false,
"python.linting.pylamaEnabled": true,
"python.linting.pylintEnabled": false,
"editor.rulers": [100],
"files.associations": {
"DockerfileBase": "dockerfile"
},
"editor.minimap.enabled": false,
"security.workspace.trust.untrustedFiles": "open"
}