Devcontainer update #2277
@ -1,35 +1,41 @@
|
||||
{
|
||||
"name": "Codespaces Python3",
|
||||
"extensions": [
|
||||
"cschleiden.vscode-github-actions",
|
||||
"eamodio.gitlens",
|
||||
"github.vscode-pull-request-github",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"ms-python.flake8",
|
||||
"ms-python.pylint",
|
||||
"ms-python.python",
|
||||
"ms-vsliveshare.vsliveshare",
|
||||
"nwgh.bandit",
|
||||
"the-compiler.python-tox",
|
||||
"vscode-icons-team.vscode-icons",
|
||||
"visualstudioexptteam.vscodeintellicode"
|
||||
],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"GitHub.vscode-github-actions",
|
||||
"eamodio.gitlens",
|
||||
"github.vscode-pull-request-github",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"ms-python.flake8",
|
||||
"ms-python.pylint",
|
||||
"ms-python.python",
|
||||
"ms-vsliveshare.vsliveshare",
|
||||
"nwgh.bandit",
|
||||
"the-compiler.python-tox",
|
||||
"vscode-icons-team.vscode-icons",
|
||||
"visualstudioexptteam.vscodeintellicode"
|
||||
],
|
||||
"settings": {
|
||||
"flake8.args": ["--config=setup.cfg"],
|
||||
"pylint.args": ["--rcfile=setup.cfg"],
|
||||
"terminal.integrated.shell.linux": "/usr/bin/zsh",
|
||||
"terminal.integrated.defaultProfile.linux": "zsh",
|
||||
"terminal.integrated.fontFamily": "'SourceCodePro+Powerline+Awesome Regular'",
|
||||
"terminal.integrated.fontSize": 14,
|
||||
"files.exclude": {
|
||||
"**/CODE_OF_CONDUCT.md": true,
|
||||
"**/LICENSE": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"remoteUser": "user",
|
||||
"containerUser": "user",
|
||||
"dockerFile": "Dockerfile",
|
||||
"postCreateCommand": "pip3 install -r requirements.txt",
|
||||
"postCreateCommand": ".devcontainer/postCreateCommand.sh",
|
||||
"updateContentCommand": "python2.7 setup.py install --user",
|
||||
"remoteEnv": {
|
||||
"PATH": "${containerEnv:PATH}:/home/user/.local/bin"
|
||||
},
|
||||
"settings": {
|
||||
"flake8.args": ["--config=setup.cfg"],
|
||||
"pylint.args": ["--rcfile=setup.cfg"],
|
||||
"terminal.integrated.shell.linux": "/usr/bin/zsh",
|
||||
"terminal.integrated.defaultProfile.linux": "zsh",
|
||||
"terminal.integrated.fontFamily": "'SourceCodePro+Powerline+Awesome Regular'",
|
||||
"terminal.integrated.fontSize": 14,
|
||||
"files.exclude": {
|
||||
"**/CODE_OF_CONDUCT.md": true,
|
||||
"**/LICENSE": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
4
.devcontainer/postCreateCommand.sh
Executable file
4
.devcontainer/postCreateCommand.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
pip3 install -r requirements.txt
|
||||
pip3 install -r kivy-requirements.txt
|
Reference in New Issue
Block a user