Skip to content

Commit

Permalink
poetry fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Apr 26, 2022
1 parent 55d96ad commit 7c8d1e8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
# Commands to start on workspace startup
tasks:
- name: "Prepare Environment"
init: >
command: >
pip install --upgrade pip &&
pip install --upgrade poetry &&
poetry config virtualenvs.in-project true &&
poetry install &&
poetry shell &&
clear
command: beerlog

beerlog
# Ports to expose on workspace startup
# ports:
# - port: 8000
Expand All @@ -18,7 +18,8 @@ tasks:
vscode:
extensions:
- "[email protected]"
- "redhat.vscode-yaml"
- "tamasfe.even-better-toml"
- "alexcvzz.vscode-sqlite"
- "jdinhlife.gruvbox"
- ms-toolsai.jupyter-renderers
- ms-toolsai.jupyter-keymap
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"python.formatting.provider": "black",
"editor.renderWhitespace": "boundary",
"workbench.tree.renderIndentGuides": "always",
"python.pythonPath": "/home/gitpod/.cache/pypoetry/virtualenvs/beerlog-DlEBh_72-py3.8/bin/python",
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.enabled": true
Expand Down
7 changes: 7 additions & 0 deletions start_poetry
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

pip install --upgrade pip
pip install --upgrade poetry
poetry config virtualenvs.in-project true
poetry install
poetry shell
beerlog

0 comments on commit 7c8d1e8

Please sign in to comment.