2021-11-07 19:32:40 +00:00
|
|
|
# https://www.gitpod.io/docs/prebuilds
|
|
|
|
github:
|
|
|
|
prebuilds:
|
|
|
|
# enable for the master/default branch (defaults to true)
|
|
|
|
master: true
|
|
|
|
# enable for all branches in this repo (defaults to false)
|
|
|
|
branches: true
|
|
|
|
# enable for pull requests coming from this repo (defaults to true)
|
|
|
|
pullRequests: true
|
|
|
|
# enable for pull requests coming from forks (defaults to false)
|
|
|
|
pullRequestsFromForks: true
|
|
|
|
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
|
|
|
|
addComment: true
|
2022-03-01 19:41:21 +00:00
|
|
|
# add a "Review in Gitpod" badge to pull requests (defaults to false)
|
2021-11-07 19:32:40 +00:00
|
|
|
addBadge: false
|
|
|
|
# add a label once the prebuild is ready to pull requests (defaults to false)
|
|
|
|
addLabel: prebuilt-in-gitpod
|
|
|
|
|
2022-03-07 19:13:13 +00:00
|
|
|
image: gitpod/workspace-python:latest
|
|
|
|
|
2021-11-07 19:32:40 +00:00
|
|
|
# https://www.gitpod.io/docs/languages/python
|
|
|
|
tasks:
|
2022-03-02 14:56:53 +00:00
|
|
|
- init: |
|
|
|
|
pyenv install 3.10.2
|
|
|
|
pyenv global 3.10.2
|
|
|
|
pip install -U pip
|
|
|
|
pip install -r requirements/dev.txt
|
|
|
|
pre-commit install --install-hooks
|
2022-03-01 19:41:21 +00:00
|
|
|
|
|
|
|
vscode:
|
|
|
|
extensions:
|
2022-03-02 14:56:53 +00:00
|
|
|
- ms-python.python
|
2022-03-01 19:41:21 +00:00
|
|
|
- EditorConfig.EditorConfig
|
|
|
|
- lextudio.restructuredtext
|
|
|
|
- trond-snekvik.simple-rst
|