devcontainer stuff
This commit is contained in:
35
.devcontainer/devcontainer.json
Normal file
35
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "Kwaylon",
|
||||
"build": {
|
||||
"dockerfile": "./Dockerfile",
|
||||
"context": "../"
|
||||
},
|
||||
"mounts": [
|
||||
"source=/etc/localtime,target=/etc/localtime,type=bind,consistency=cached",
|
||||
"source=/etc/timezone,target=/etc/timezone,type=bind,consistency=cached"
|
||||
],
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/git:1": {},
|
||||
"ghcr.io/devcontainers/features/github-cli:1": {},
|
||||
"ghcr.io/devcontainers/features/python:1": {}
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"ms-python.python",
|
||||
"ms-toolsai.jupyter",
|
||||
"mhutchie.git-graph",
|
||||
"ms-python.isort",
|
||||
"ms-python.autopep8"
|
||||
],
|
||||
"settings": {
|
||||
// "python.editor.defaultFormatter": "ms-python.autopep8",
|
||||
"[python]": {
|
||||
"editor.defaultFormatter": "ms-python.autopep8",
|
||||
"formatting.autopep8Args": ["--max-line-length", "120", "--experimental"],
|
||||
"editor.formatOnSave": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user