From 161a433893632ed1ade0c35e9ca81116030d925d Mon Sep 17 00:00:00 2001 From: Rambaud Pierrick <12rambau@users.noreply.github.com> Date: Wed, 27 Sep 2023 08:31:24 +0000 Subject: [PATCH 1/3] chore: build the devcontainer automaticallyin codespace --- .devcontainer/devcontainer.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..2c7181bbd --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,10 @@ +// container instruction for codespace users +{ + "name": "Python 3", + "image": "mcr.microsoft.com/devcontainers/python:1-3.10-bullseye", + "features": { + "ghcr.io/devcontainers-contrib/features/nox:2": {}, + "ghcr.io/devcontainers-contrib/features/pre-commit:2": {} + }, + "postCreateCommand": "pre-commit install" +} From 4ca0e686e47cf2c6cbef83625a5ab9b2497cf5dc Mon Sep 17 00:00:00 2001 From: Rambaud Pierrick <12rambau@users.noreply.github.com> Date: Wed, 27 Sep 2023 09:02:47 +0000 Subject: [PATCH 2/3] refactor: lint --- .devcontainer/devcontainer.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2c7181bbd..414a230c6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,10 +1,10 @@ // container instruction for codespace users { - "name": "Python 3", - "image": "mcr.microsoft.com/devcontainers/python:1-3.10-bullseye", - "features": { - "ghcr.io/devcontainers-contrib/features/nox:2": {}, - "ghcr.io/devcontainers-contrib/features/pre-commit:2": {} - }, - "postCreateCommand": "pre-commit install" + "name": "Python 3", + "image": "mcr.microsoft.com/devcontainers/python:1-3.10-bullseye", + "features": { + "ghcr.io/devcontainers-contrib/features/nox:2": {}, + "ghcr.io/devcontainers-contrib/features/pre-commit:2": {} + }, + "postCreateCommand": "pre-commit install" } From ee69311d4e20351fa7381761c1b3c9805bbf70ad Mon Sep 17 00:00:00 2001 From: Rambaud Pierrick <12rambau@users.noreply.github.com> Date: Wed, 27 Sep 2023 09:59:26 +0000 Subject: [PATCH 3/3] add pandoc to the environment --- .devcontainer/devcontainer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 414a230c6..e8ad847b8 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,7 +4,8 @@ "image": "mcr.microsoft.com/devcontainers/python:1-3.10-bullseye", "features": { "ghcr.io/devcontainers-contrib/features/nox:2": {}, - "ghcr.io/devcontainers-contrib/features/pre-commit:2": {} + "ghcr.io/devcontainers-contrib/features/pre-commit:2": {}, + "ghcr.io/rocker-org/devcontainer-features/pandoc:1": {} }, "postCreateCommand": "pre-commit install" }