-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.yml
29 lines (29 loc) · 1.05 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Only /workspace folder is preserved on restarts, therefore both the Python
# virtual environment and pre-commit caches have to be installed there
image:
file: .gitpod.Dockerfile
tasks:
- name: Setup venv and dev tools
init: |
mkdir .vscode
cp .gitpod/.vscode/* .vscode/
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip setuptools wheel uv
uv sync --extra dace --extra io --extra testing
pre-commit install --install-hooks
deactivate
command: |
source .venv/bin/activate
_ICON4PYGEN_COMPLETE=bash_source icon4pygen > ~/.bashrc.d/70-icon4pygen
echo "export COMP_WORDBREAKS=\${COMP_WORDBREAKS//:}" >> ~/.bashrc.d/70-icon4pygen
env:
PIP_SRC: _external_src
PRE_COMMIT_HOME: /workspace/.caches/pre-commit
vscode:
extensions:
- ms-python.python
- ms-toolsai.jupyter
- ms-toolsai.jupyter-keymap
- ms-toolsai.jupyter-renderers
- genuitecllc.codetogether