From bd28cd8fb458a449c3b36c7bba70c0981345a199 Mon Sep 17 00:00:00 2001 From: zeevdr Date: Wed, 3 Jun 2026 10:03:02 +0300 Subject: [PATCH] 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 --- .devcontainer/devcontainer.json | 14 ++++++++++++++ README.md | 1 + 2 files changed, 15 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..2ed4d62 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,14 @@ +{ + "name": "OpenDecree Python SDK", + "image": "mcr.microsoft.com/devcontainers/python:3.12", + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "charliermarsh.ruff", + "ms-python.mypy-type-checker" + ] + } + }, + "postCreateCommand": "cd sdk && pip install -e '.[dev]'" +} diff --git a/README.md b/README.md index 5b658c2..762c55b 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ [![License](https://img.shields.io/github/license/opendecree/decree-python)](LICENSE) [![Project Status: WIP](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip) [![codecov](https://codecov.io/gh/opendecree/decree-python/graph/badge.svg)](https://codecov.io/gh/opendecree/decree-python) +[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/opendecree/decree-python) Python SDK for [OpenDecree](https://github.com/opendecree/decree) — schema-driven configuration management.