Skip to content

Commit 94dfe18

Browse files
authored
Dev Container (#2903)
Co-authored-by: Casey Korver <84342833+Casey-Kiewit@users.noreply.github.com>
1 parent ebb770b commit 94dfe18

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.devcontainer/devcontainer.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "Codespell Development Environment",
3+
"image": "mcr.microsoft.com/devcontainers/python:1-3",
4+
"customizations": {
5+
"vscode": {
6+
"extensions": [
7+
"github.vscode-github-actions",
8+
"ms-python.python",
9+
"ms-python.vscode-pylance"
10+
]
11+
}
12+
},
13+
"postCreateCommand": "bash .devcontainer/post_create.sh"
14+
}

.devcontainer/post_create.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
sudo apt-get update
4+
sudo apt-get install -y libaspell-dev
5+
6+
pip install --upgrade \
7+
aspell-python-py3 \
8+
pip \
9+
setuptools \
10+
setuptools_scm \
11+
wheel
12+
pip install -e '.[dev]'

0 commit comments

Comments
 (0)