|
|
|
|
|
{ |
|
"name": "Python 3", |
|
"forwardPorts": [8000], |
|
"build": { |
|
"dockerfile": "Dockerfile", |
|
"context": "..", |
|
"args": { |
|
|
|
|
|
|
|
"VARIANT": "bullseye" |
|
} |
|
}, |
|
|
|
|
|
"customizations": { |
|
|
|
"vscode": { |
|
|
|
"settings": { |
|
"python.defaultInterpreterPath": "/usr/local/bin/python", |
|
"python.linting.enabled": true, |
|
"python.linting.pylintEnabled": true, |
|
"python.linting.pylintArgs": [ |
|
"--disable=C0114,C0115,C0116" |
|
], |
|
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", |
|
"python.formatting.blackPath": "/usr/local/py-utils/bin/black", |
|
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", |
|
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit", |
|
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", |
|
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", |
|
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", |
|
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", |
|
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint", |
|
"python.testing.unittestEnabled": false, |
|
"python.testing.pytestEnabled": true, |
|
"workbench.startupEditor": "newUntitledFile" |
|
}, |
|
|
|
|
|
"extensions": [ |
|
"ms-python.python", |
|
"ms-python.vscode-pylance" |
|
] |
|
} |
|
}, |
|
|
|
|
|
"postCreateCommand": "pip install -r requirements-dev.txt && pre-commit install", |
|
|
|
|
|
"remoteUser": "vscode", |
|
|
|
"features": { |
|
"ghcr.io/devcontainers/features/azure-cli:1": { |
|
"version": "latest" |
|
}, |
|
"ghcr.io/devcontainers/features/python:1": { |
|
"version": "os-provided" |
|
} |
|
} |
|
} |
|
|