Files
repo-templates/template/.devcontainer/devcontainer.json

52 lines
1.7 KiB
JSON
Raw Normal View History

{
"image": "ubuntu:24.04",
"containerEnv": {
"CONAN_USR": "", // need to be filled
"CONAN_PSW": "" // need to be filled,
},
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/git-lfs:1": {},
"ghcr.io/devcontainers/features/python:1": {
"toolsToInstall": "flake8,autopep8,black,yapf,mypy,pydocstyle,pycodestyle,bandit,pipenv,virtualenv,pytest,pylint,uv,copier,conan"
}
},
"customizations": {
"vscode": {
"settings": {
"git.path": "/usr/bin/git"
},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"GitHub.copilot-chat",
"njqdev.vscode-python-typehint",
"ms-python.debugpy",
"mhutchie.git-graph",
"ms-vscode.cpptools-themes",
"tamasfe.even-better-toml",
"moshfeu.compare-folders",
"njpwerner.autodocstring",
"ms-python.black-formatter",
"ms-python.isort",
"ms-vscode.live-server",
"yzhang.markdown-all-in-one",
"bierner.markdown-mermaid",
"charliermarsh.ruff",
"shardulm94.trailing-spaces",
"redhat.vscode-yaml",
"ninoseki.vscode-mogami",
"twxs.cmake",
"cheshirekow.cmake-format",
"wholroyd.jinja"
]
}
},
"runArgs": [
"--network=host",
"-e HOST_UID=$(id -u)",
"-e HOST_GID=$(id -g)"
],
"postStartCommand": ".devcontainer/postStartCommand.sh"
}