mirror of
https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git
synced 2025-06-16 15:06:53 +00:00
embracing devcontainers
This commit is contained in:
parent
9e72b8d834
commit
bea03c73e3
25
.devcontainer/devcontainer.json
Normal file
25
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,25 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
||||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.191.0/containers/docker-existing-dockerfile
|
||||
{
|
||||
"name": "DockerDev",
|
||||
// Sets the run context to one level up instead of the .devcontainer folder.
|
||||
"context": "..",
|
||||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
|
||||
"dockerFile": "../DockerDev",
|
||||
// Set *default* container specific settings.json values on container create.
|
||||
"settings": {},
|
||||
// Add the IDs of extensions you want installed when the container is created.
|
||||
"extensions": [
|
||||
"ms-python.python"
|
||||
]
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
// Uncomment the next line to run commands after the container is created - for example installing curl.
|
||||
// "postCreateCommand": "apt-get update && apt-get install -y curl",
|
||||
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
|
||||
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
|
||||
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
|
||||
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
|
||||
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
|
||||
// "remoteUser": "vscode"
|
||||
}
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1 @@
|
||||
__pycache__/
|
||||
.vscode
|
||||
.devcontainer
|
||||
__pycache__
|
20
.vscode/settings.json
vendored
Normal file
20
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"workbench.iconTheme": "vscode-icons",
|
||||
"editor.suggestSelection": "first",
|
||||
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
|
||||
"python.languageServer": "Pylance",
|
||||
"git.autofetch": true,
|
||||
"editor.formatOnSave": true,
|
||||
"files.associations": {
|
||||
"DockerDev": "dockerfile",
|
||||
},
|
||||
"workbench.colorTheme": "One Dark Pro",
|
||||
"explorer.confirmDelete": false,
|
||||
"editor.fontFamily": "JetBrains Mono",
|
||||
"editor.letterSpacing": 1.2,
|
||||
"editor.fontLigatures": true,
|
||||
"editor.wordWrap": "on",
|
||||
"python.formatting.provider": "black",
|
||||
"python.showStartPage": false,
|
||||
"editor.fontSize": 13,
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user