-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
24 lines (24 loc) · 1016 Bytes
/
Copy pathdevcontainer.json
File metadata and controls
24 lines (24 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"build": {"dockerfile": "Dockerfile"},
"containerEnv": {
"PYTHONUNBUFFERED": "1", // Don't buffer Python output
"PYTHONFAULTHANDLER": "1", // Print traceback on fault signal
"PYTHONDONTWRITEBYTECODE": "1", // Don't make pyc files
"PIP_NO_CACHE_DIR": "on",
"PIP_DISABLE_PIP_VERSION_CHECK": "on", // Don't check for newer pip versions
"POETRY_VIRTUALENVS_IN_PROJECT": "1", // Include virtualenv in .venv dir
"VIRTUAL_ENV_DISABLE_PROMPT": "1" // Don't put virtualenv tag in prompt
},
//"postCreateCommand": "poetry install --no-ansi --no-root",
"postCreateCommand": "test -f pyproject.toml || poetry init; poetry install --no-ansi --no-root",
"customizations": {
"vscode": {
"extensions": [
"ms-python.vscode-pylance",
"ms-python.python",
"charliermarsh.ruff",
"ms-toolsai.jupyter"
]
}
}
}