-
Notifications
You must be signed in to change notification settings - Fork 433
chore(governance): add pre-configured dev environment with GitPod.io to ease contributions #1403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
heitorlessa
merged 11 commits into
aws-powertools:develop
from
leandrodamascena:chore/gitpod-dev
Aug 3, 2022
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
7c4eb7c
chore(dev): adding gitpod support
leandrodamascena 9a4efca
chore(docs): adding gitpod badge
leandrodamascena 7959b14
chore(docs): adding gitpod section to CONTRIBUTING.md
leandrodamascena c14944c
chore(dev): adding new lines at the end of the file
leandrodamascena 102ba0f
chore(dev): adding new lines at the end of the file
leandrodamascena 065f35f
chore(dev): changed python version from 3.10.5 to 3.9.13
leandrodamascena 57e5cb5
chore(dev): added new vscode extensions to make the life easier
leandrodamascena 8eeebdc
chore(dev): fixed typo in python version
leandrodamascena dc5a258
chore(docs): added gitpod badge in CONTRIBUTING and removed from README
leandrodamascena 5ee8972
chore(docs): adding more details to CONTRIBUTING guide
leandrodamascena e66f89a
chore: sync disclaimer wording for new contributions
heitorlessa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# See here all gitpod images available: https://hub.docker.com/r/gitpod/workspace-python-3.9/tags | ||
# Current python version: 3.9.13 | ||
FROM gitpod/workspace-python-3.9@sha256:de87d4ebffe8daab2e8fef96ec20497ae4f39e8dcb9dec1483d0be61ea78e8cd | ||
|
||
WORKDIR /app | ||
ADD . /app | ||
|
||
# Installing pre-commit as system package and not user package. Git needs this to execute pre-commit hooks. | ||
RUN export PIP_USER=no | ||
RUN python3 -m pip install pre-commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
image: | ||
file: .gitpod.Dockerfile | ||
tasks: | ||
- init: make dev-gitpod | ||
vscode: | ||
extensions: | ||
- ms-python.python # IntelliSense (Pylance), Linting, Debugging (multi-threaded, remote), Jupyter Notebooks, code formatting, refactoring, unit tests, and more. | ||
- littlefoxteam.vscode-python-test-adapter # Run your Python tests in the Sidebar of Visual Studio Code | ||
- ms-azuretools.vscode-docker # Makes it easy to create, manage, and debug containerized applications. | ||
- davidanson.vscode-markdownlint # Markdown linting and style checking for Visual Studio Code | ||
- bungcip.better-toml # Better TOML Language support | ||
- oderwat.indent-rainbow # Makes indentation easier to read | ||
- yzhang.markdown-all-in-one # Autoformat, better visualization, snippets, and markdown export to multiple fmts | ||
- bierner.markdown-mermaid # Previews mermaid diagrams when previewing markdown | ||
- matangover.mypy # Highlight mypy issues | ||
- njpwerner.autodocstring # Auto-generate docsstrings in numpy format that we use | ||
- netcorext.uuid-generator # For those helping create code snippets for docs | ||
- streetsidesoftware.code-spell-checker # Spell checker that works with camel case too | ||
- bungcip.better-toml # In case GitPod doesn't have support for TOML pyproject.toml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.