Something went wrong. Try again.
Something went wrong. Try again.
1.0 kB · 29 lines
JSON
at master
123456789101112131415161718192021222324252627282930{ // How to build the devcontainer "build": { "dockerfile": "Dockerfile", "args": { // Source: https://code.visualstudio.com/docs/remote/devcontainerjson-reference#_variables-in-devcontainerjson "PROJECT_FOLDER_NAME": "${containerWorkspaceFolderBasename}" }, "context": ".." }, "runArgs": [ "--network=host" ], "postCreateCommand": "poetry install && pre-commit install", // VS Code tooling and settings to include automatically. "extensions": [ "ms-python.python", // Python Intellisense/Debugging "njpwerner.autodocstring", // Easily create docstrings "mhutchie.git-graph", // Nice Git Log Visualizer "stkb.rewrap" // Easily line-wrap comments at the ruler(s) below. ], "settings": { "[python]": { "editor.rulers": [88], // `black`'s default line width "editor.insertSpaces": true, "editor.tabSize": 4 } }}