From 073f5ff947a9f9ae78371aad41dbfdf89070d954 Mon Sep 17 00:00:00 2001 From: Klukas Date: Fri, 8 Aug 2025 06:20:19 -0400 Subject: [PATCH] Fix pre-commit deprecation warnings --- .devcontainer/devcontainer.json | 33 ++++++++++++++++----------------- .pre-commit-config.yaml | 2 +- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 30f59a9..b7d7e74 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,18 +1,17 @@ { - "build": { - // instructs devcontainers to use a Dockerfile - // rather than a pre-defined image - "dockerfile": "Dockerfile" - }, - "customizations": { - "vscode": { - "extensions": [ - "ms-azuretools.vscode-docker", // docker support - "BazelBuild.vscode-bazel" // bazel support - ] - } - }, - // sets up pre-commit hooks - "postStartCommand": "pre-commit install" - } - \ No newline at end of file + "build": { + // instructs devcontainers to use a Dockerfile + // rather than a pre-defined image + "dockerfile": "Dockerfile" + }, + "customizations": { + "vscode": { + "extensions": [ + "ms-azuretools.vscode-docker", // docker support + "BazelBuild.vscode-bazel" // bazel support + ] + } + }, + // sets up pre-commit hooks + "postStartCommand": "pre-commit install" +} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e6cfa8b..834a332 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ # Commitizen runs in commit-msg stage # but we don't want to run the other hooks on commit messages -default_stages: [commit] +default_stages: [pre-commit] # Use a slightly older version of node by default # as the default uses a very new version of GLIBC