From eba330566d82fc090965ed88a0f2dcbd3d8f090b Mon Sep 17 00:00:00 2001 From: Se7enZ Date: Thu, 22 Jan 2026 14:13:41 +0100 Subject: [PATCH] devtools: Set pre-commit default versions for Python and NodeJS. Default to Python 3 and NodeJS to use that which is on the system, avoiding conflicts with `nodeenv`. --- .pre-commit-config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e1f4cdcf5..65e0f58be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,7 @@ +default_language_version: + node: system + python: python3 + repos: - repo: https://github.com/pycqa/flake8 rev: 7.3.0 @@ -65,7 +69,7 @@ repos: rev: v9.23.0 hooks: - id: commitlint - stages: [commit-msg] + stages: [ commit-msg ] - repo: local hooks: