Python env now autoopens

This commit is contained in:
Jonas Linter
2025-10-08 16:18:20 +02:00
parent 44abe3ed35
commit dba07fc5ff
2 changed files with 20 additions and 0 deletions

6
.env Normal file
View File

@@ -0,0 +1,6 @@
# Environment variables for development
# You can add project-specific environment variables here
# Example:
# ALPINEBITS_CONFIG_DIR=./config
# PYTHONPATH=./src

14
.vscode/settings.json vendored
View File

@@ -19,6 +19,20 @@
"notebook.output.textLineLimit": 200, "notebook.output.textLineLimit": 200,
"jupyter.debugJustMyCode": false, "jupyter.debugJustMyCode": false,
"python.defaultInterpreterPath": "./.venv/bin/python", "python.defaultInterpreterPath": "./.venv/bin/python",
"python.terminal.activateEnvironment": true,
"python.terminal.activateEnvInCurrentTerminal": true,
"python.envFile": "${workspaceFolder}/.env",
"terminal.integrated.env.linux": {
"VIRTUAL_ENV": "${workspaceFolder}/.venv",
"PATH": "${workspaceFolder}/.venv/bin:${env:PATH}"
},
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"args": ["-c", "source ${workspaceFolder}/.venv/bin/activate && exec bash"]
}
},
"python.testing.pytestEnabled": true, "python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [ "python.testing.pytestArgs": [
"tests", "tests",