Skip to content

Commit 1e39214

Browse files
authored
Merge pull request #6 from brosner/improve-devcontainer
improve devcontainer
2 parents 9319137 + 0e824c4 commit 1e39214

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.devcontainer/devcontainer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"name": "Python 3",
33
"image": "mcr.microsoft.com/devcontainers/python",
44
"features": {
5-
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {}
5+
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {},
6+
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
7+
"ghcr.io/meaningful-ooo/devcontainer-features/homebrew:2": {}
68
},
7-
"postCreateCommand": "pre-commit install"
9+
"postCreateCommand": ".devcontainer/setup.sh"
810
}

.devcontainer/setup.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
pre-commit install
4+
brew install withgraphite/tap/graphite
5+
6+
# gt auth --token $GRAPHITE_TOKEN

0 commit comments

Comments
 (0)