project refactor
This commit is contained in:
38
.devcontainer/devcontainer.json
Normal file
38
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,38 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
{
|
||||
"name": "autopve-dev",
|
||||
"build": {
|
||||
"context": "..",
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"cschleiden.vscode-github-actions",
|
||||
"esbenp.prettier-vscode",
|
||||
"littlefoxteam.vscode-python-test-adapter",
|
||||
"ms-python.python",
|
||||
"samuelcolvin.jinjahtml",
|
||||
"Vue.volar"
|
||||
],
|
||||
"settings": {
|
||||
"python.testing.cwd": "/workspaces/autopve/",
|
||||
"python.testing.pytestArgs": ["tests"],
|
||||
"python.testing.unittestEnabled": false,
|
||||
"python.testing.pytestEnabled": true,
|
||||
"python.defaultInterpreterPath": "/usr/local/bin/python3",
|
||||
"terminal.integrated.defaultProfile.linux": "bash",
|
||||
"terminal.integrated.shell.linux": "bash",
|
||||
"terminal.integrated.profiles.linux": {
|
||||
"bash (container default)": {
|
||||
"path": "/usr/bin/bash",
|
||||
"overrideName": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
// More info: https://aka.ms/dev-containers-non-root.
|
||||
"remoteUser": "vscode",
|
||||
"postCreateCommand": "/usr/local/bin/python3 -m pip install -r requirements-test.txt"
|
||||
}
|
||||
Reference in New Issue
Block a user