Commit 99c13b7
chore(build): improve devcontainers setup with poetry (#506)
1. Replaces uses an image directly.
2. Creates a custom image, still based off the original Image.
3. Installs poetry inside the container. This saves the user about 20
seconds every container load.
4. Installs `pre-commit` in the container. Saves more time.
5. Enables `pre-commit`. From inside the container the user cannot
commit without `pre-commit` running.
6. Adds in git autocomplete to the container (see screenshot)
7. Adds in poetry autocomplete to the container (see screenshot)

---------
Co-authored-by: bstrausser <[email protected]>
Co-authored-by: David Ankin <[email protected]>
Co-authored-by: Bálint Bartha <[email protected]>1 parent 95100a3 commit 99c13b7
File tree
3 files changed
+28
-3
lines changed- .devcontainer
- commands
3 files changed
+28
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
0 commit comments