diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b51b2a1..6142b53 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,7 @@ { - "name": "Python 3", - "image": "mcr.microsoft.com/devcontainers/python", - "postCreateCommand": "python -m pip install nox" -} \ No newline at end of file + "name": "Python 3", + "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye", + "features": { + "ghcr.io/devcontainers-contrib/features/nox:2": {} + } +} diff --git a/package/.devcontainer/devcontainer.json.jinja b/package/.devcontainer/devcontainer.json.jinja index fddaf0b..8e7ad66 100644 --- a/package/.devcontainer/devcontainer.json.jinja +++ b/package/.devcontainer/devcontainer.json.jinja @@ -1,5 +1,9 @@ { - "name": "Python 3", - "image": "mcr.microsoft.com/devcontainers/python", - "postCreateCommand": "python -m pip install nox pre-commit && pre-commit install" -} \ No newline at end of file + "name": "Python 3", + "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye", + "features": { + "ghcr.io/devcontainers-contrib/features/nox:2": {}, + "ghcr.io/devcontainers-contrib/features/pre-commit:2": {} + }, + "postCreateCommand": "pre-commit install" +}