signalizuje venv
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
// }
|
||||
// },
|
||||
"containerEnv": {
|
||||
"PIP_INDEX_URL": "https://dv.masara.eu/repository/pypi-group/simple"
|
||||
// alebo "/simple", ak to Nexus vyžaduje
|
||||
"PIP_INDEX_URL": "https://dv.masara.eu/repository/pypi-group/simple",
|
||||
"PIP_ROOT_USER_ACTION": "ignore"
|
||||
},
|
||||
"remoteEnv": {
|
||||
"DOCKER_BUILDKIT": "1"
|
||||
@@ -29,16 +29,14 @@
|
||||
"ms-azuretools.vscode-docker"
|
||||
],
|
||||
"settings": {
|
||||
"[python]": {
|
||||
"editor.defaultFormatter": "ms-python.python"
|
||||
},
|
||||
"python.formatting.provider": "black",
|
||||
"python.analysis.extraPaths": [
|
||||
"/app"
|
||||
],
|
||||
"editor.formatOnSave": true,
|
||||
"python.defaultInterpreterPath": "/workspace/.venv/bin/python",
|
||||
// "python.defaultInterpreterPath": "/workspace/.venv/bin/python",
|
||||
"python.terminal.activateEnvironment": true,
|
||||
"python.defaultInterpreterPath": ".venv/bin/python",
|
||||
// nechceme obnovovať staré porty z predchádzajúcich session
|
||||
"remote.restoreForwardedPorts": false,
|
||||
// auto-forward portov len na základe outputu, nie procesov
|
||||
|
||||
@@ -17,7 +17,7 @@ if [ ! -d "$VENV_PATH" ]; then
|
||||
else
|
||||
echo "Používam existujúce virtuálne prostredie..."
|
||||
# shellcheck disable=SC1090
|
||||
source "$VENV_PATH/bin/activate"
|
||||
# source "$VENV_PATH/bin/activate"
|
||||
fi
|
||||
|
||||
# Inštalácia závislostí, ak existuje requirements.txt
|
||||
@@ -28,5 +28,3 @@ else
|
||||
echo "requirements.txt nenájdený – preskakujem inštaláciu závislostí."
|
||||
fi
|
||||
|
||||
echo "Nastavujem Git credential helper..."
|
||||
git config --global credential.helper manager-core
|
||||
|
||||
Reference in New Issue
Block a user