Skip to content

Commit bd28cd8

Browse files
committed
feat: add devcontainer config and Codespaces badge
Add .devcontainer/devcontainer.json using the standard Python 3.12 devcontainer image, with VS Code extensions for Python, Ruff, and mypy. postCreateCommand installs dev dependencies via pip. Add an "Open in GitHub Codespaces" badge to README.md. Closes #9
1 parent 9b8faf4 commit bd28cd8

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "OpenDecree Python SDK",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.12",
4+
"customizations": {
5+
"vscode": {
6+
"extensions": [
7+
"ms-python.python",
8+
"charliermarsh.ruff",
9+
"ms-python.mypy-type-checker"
10+
]
11+
}
12+
},
13+
"postCreateCommand": "cd sdk && pip install -e '.[dev]'"
14+
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[![License](https://img.shields.io/github/license/opendecree/decree-python)](LICENSE)
88
[![Project Status: WIP](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
99
[![codecov](https://codecov.io/gh/opendecree/decree-python/graph/badge.svg)](https://codecov.io/gh/opendecree/decree-python)
10+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/opendecree/decree-python)
1011

1112
Python SDK for [OpenDecree](https://github.com/opendecree/decree) — schema-driven configuration management.
1213

0 commit comments

Comments
 (0)