From a87a1506e8966a7afd20106eb1e4c883b48d9175 Mon Sep 17 00:00:00 2001 From: Bradley Reynolds Date: Wed, 26 Jun 2024 19:07:02 +0000 Subject: [PATCH] Add DevContainer config Signed-off-by: GitHub --- .devcontainer/devcontainer-lock.json | 9 +++++++++ .devcontainer/devcontainer.json | 9 +++++++++ .github/dependabot.yml | 4 ++++ .pre-commit-config.yaml | 1 + 4 files changed, 23 insertions(+) create mode 100644 .devcontainer/devcontainer-lock.json create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer-lock.json b/.devcontainer/devcontainer-lock.json new file mode 100644 index 0000000000..66ee1b70ee --- /dev/null +++ b/.devcontainer/devcontainer-lock.json @@ -0,0 +1,9 @@ +{ + "features": { + "ghcr.io/devcontainers/features/python:1": { + "version": "1.4.2", + "resolved": "ghcr.io/devcontainers/features/python@sha256:bf021f1800543f08bf029c449a3f25341be782b620802befa1f8e6ee51cf6cf6", + "integrity": "sha256:bf021f1800543f08bf029c449a3f25341be782b620802befa1f8e6ee51cf6cf6" + } + } +} \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000000..7032b4d65c --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,9 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": { + "ghcr.io/devcontainers/features/python:1": { + "version": "3.12", + "installTools": false + }, + } +} diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f60e94af83..49f23ff274 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,5 +1,9 @@ version: 2 updates: + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: "daily" - package-ecosystem: "pip" directory: "/" schedule: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 336748457b..7150fcb73e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,6 +6,7 @@ repos: - id: check-toml - id: check-yaml - id: end-of-file-fixer + exclude: .devcontainer/devcontainer-lock.json - id: trailing-whitespace args: [--markdown-linebreak-ext=md]