Merge pull request #6 from brosner/improve-devcontainer

improve devcontainer
This commit is contained in:
Brian Rosner 2024-05-31 15:49:20 -06:00 committed by GitHub
commit 1e39214f73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View File

@ -2,7 +2,9 @@
"name": "Python 3", "name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python", "image": "mcr.microsoft.com/devcontainers/python",
"features": { "features": {
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {} "ghcr.io/devcontainers-contrib/features/pre-commit:2": {},
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
"ghcr.io/meaningful-ooo/devcontainer-features/homebrew:2": {}
}, },
"postCreateCommand": "pre-commit install" "postCreateCommand": ".devcontainer/setup.sh"
} }

6
.devcontainer/setup.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
pre-commit install
brew install withgraphite/tap/graphite
# gt auth --token $GRAPHITE_TOKEN