/ .devcontainer / devcontainer.json
devcontainer.json
1 { 2 "name": "Codespaces Python3", 3 "customizations": { 4 "vscode": { 5 "extensions": [ 6 "GitHub.vscode-github-actions", 7 "eamodio.gitlens", 8 "github.vscode-pull-request-github", 9 "ms-azuretools.vscode-docker", 10 "ms-python.flake8", 11 "ms-python.pylint", 12 "ms-python.python", 13 "ms-vsliveshare.vsliveshare", 14 "nwgh.bandit", 15 "the-compiler.python-tox", 16 "vscode-icons-team.vscode-icons", 17 "visualstudioexptteam.vscodeintellicode" 18 ], 19 "settings": { 20 "flake8.args": ["--config=setup.cfg"], 21 "pylint.args": ["--rcfile=setup.cfg", "--init-hook", "import sys;sys.path.append('src')"], 22 "terminal.integrated.shell.linux": "/usr/bin/zsh", 23 "terminal.integrated.defaultProfile.linux": "zsh", 24 "terminal.integrated.fontFamily": "'SourceCodePro+Powerline+Awesome Regular'", 25 "terminal.integrated.fontSize": 14, 26 "files.exclude": { 27 "**/CODE_OF_CONDUCT.md": true, 28 "**/LICENSE": true 29 } 30 } 31 } 32 }, 33 "remoteUser": "user", 34 "containerUser": "user", 35 "dockerFile": "Dockerfile", 36 "postCreateCommand": ".devcontainer/postCreateCommand.sh", 37 "updateContentCommand": "python2.7 setup.py install --user", 38 "remoteEnv": { 39 "PATH": "${containerEnv:PATH}:/home/user/.local/bin" 40 } 41 }