esphome-docs/.devcontainer/devcontainer.json

28 lines
1.2 KiB
JSON
Raw Normal View History

2021-06-16 10:29:54 +02:00
// https://github.com/microsoft/vscode-dev-containers/tree/v0.183.0/containers/python-3
{
2022-02-20 10:39:33 +01:00
"name": "ESPHome - docs",
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.10",
2022-02-20 10:39:33 +01:00
"postCreateCommand": "pip3 install -r requirements.txt -r requirements_test.txt",
"forwardPorts": [8000],
"settings": {
2022-02-20 10:39:33 +01:00
"python.pythonPath": "/usr/local/bin/python",
"python.languageServer": "Pylance",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"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"
},
2021-06-16 10:29:54 +02:00
2022-02-20 10:39:33 +01:00
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance"
]
2021-06-16 10:29:54 +02:00
}