Skip to content

Commit

Permalink
Update .gitpod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jab committed Mar 1, 2022
1 parent db2b512 commit ebaf295
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@ github:
pullRequestsFromForks: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: true
# add a "Review in Gitpod" button to pull requests (defaults to false)
# add a "Review in Gitpod" badge to pull requests (defaults to false)
addBadge: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: prebuilt-in-gitpod

# https://www.gitpod.io/docs/languages/python
tasks:
- init: |
python3 -m pip install -U pip
python3 -m pip install -r requirements/dev.txt
export PIP_USER=false # Work around https://github.com/gitpod-io/gitpod/issues/4886
pre-commit install --install-hooks
- init: echo 'eval "$(pyenv init --path)"' >> ~/.bashrc.d/60-python `# https://github.com/gitpod-io/workspace-images/issues/664` && eval $(pyenv init --path) && pyenv install 3.10.2 && pyenv global 3.10.2 && pip -V | fgrep 'python 3.10' && pip install -U pip && pip install -r requirements/dev.txt && pre-commit install --install-hooks

vscode:
extensions:
- EditorConfig.EditorConfig
- lextudio.restructuredtext
- trond-snekvik.simple-rst

0 comments on commit ebaf295

Please sign in to comment.