superbenchmark/.devcontainer/devcontainer.json

56 строки
1.8 KiB
JSON

{
"name": "GitHub Codespaces for SuperBench",
"image": "mcr.microsoft.com/vscode/devcontainers/universal:linux",
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true,
"go.gopath": "/go",
"go.goroot": "/usr/local/go",
"python.pythonPath": "/opt/python/latest/bin/python",
"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",
"lldb.executable": "/usr/bin/lldb",
"files.watcherExclude": {
"**/target/**": true
},
"workbench.iconTheme": "vscode-icons"
},
"remoteUser": "codespace",
"overrideCommand": false,
"mounts": [
"source=codespaces-linux-var-lib-docker,target=/var/lib/docker,type=volume"
],
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined",
"--privileged",
"--init"
],
"extensions": [
"gitHub.vscode-pull-request-github",
"editorconfig.editorconfig",
"ms-python.python",
"ms-python.vscode-pylance",
"njpwerner.autodocstring",
"eamodio.gitlens",
"vscode-icons-team.vscode-icons"
],
"forwardPorts": [
3000
],
"remoteEnv": {
"SB_TEST_CUDA": "0"
},
"postCreateCommand": "bash ./.devcontainer/post-create-command.sh"
}