Skip to content

Commit 7c8d1e8

Browse files
committed
poetry fixes
1 parent 55d96ad commit 7c8d1e8

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

.gitpod.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1+
---
12
# Commands to start on workspace startup
23
tasks:
34
- name: "Prepare Environment"
4-
init: >
5+
command: >
56
pip install --upgrade pip &&
67
pip install --upgrade poetry &&
8+
poetry config virtualenvs.in-project true &&
79
poetry install &&
810
poetry shell &&
9-
clear
10-
command: beerlog
11-
11+
beerlog
1212
# Ports to expose on workspace startup
1313
# ports:
1414
# - port: 8000
@@ -18,7 +18,8 @@ tasks:
1818
vscode:
1919
extensions:
2020
- "ms-python.python@2021.9.1218897484"
21-
- "redhat.vscode-yaml"
2221
- "tamasfe.even-better-toml"
2322
- "alexcvzz.vscode-sqlite"
2423
- "jdinhlife.gruvbox"
24+
- ms-toolsai.jupyter-renderers
25+
- ms-toolsai.jupyter-keymap

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"python.formatting.provider": "black",
3030
"editor.renderWhitespace": "boundary",
3131
"workbench.tree.renderIndentGuides": "always",
32-
"python.pythonPath": "/home/gitpod/.cache/pypoetry/virtualenvs/beerlog-DlEBh_72-py3.8/bin/python",
3332
"python.linting.pylintEnabled": false,
3433
"python.linting.flake8Enabled": true,
3534
"python.linting.enabled": true

start_poetry

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
pip install --upgrade pip
3+
pip install --upgrade poetry
4+
poetry config virtualenvs.in-project true
5+
poetry install
6+
poetry shell
7+
beerlog

0 commit comments

Comments
 (0)