From f047943eb7ae1933ee13a4cb2f0fdc658bbfe674 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Sat, 1 Feb 2025 16:11:44 +0100 Subject: [PATCH] [CHANGE] Define language versions --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 91268822..3f2e7f21 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,6 +3,11 @@ # Update this file: # pre-commit autoupdate +# Set the default language versions for the hooks +default_language_version: + python: python3 # Force all Python hooks to use Python 3 + node: 22.12.0 # Force all Node hooks to use Node 22.12.0 + repos: # Code Upgrades - repo: https://github.com/asottile/pyupgrade @@ -81,6 +86,7 @@ repos: rev: v0.41.0 hooks: - id: markdownlint + language: node args: - --disable=MD013 # Infrastructure