devtools: Set pre-commit default versions for Python and NodeJS.
What changed, and why it matters
This commit only changes the project's pre-commit configuration file. It tells the pre-commit tool to use the system's installed NodeJS and Python 3 versions, and makes a minor formatting tweak to a hook stage. There is no change to Core Lightning's runtime code, network behavior, or anything that handles funds, keys, or peer messages.
No security action needed. This is a benign developer-experience tooling change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds a default_language_version block to .pre-commit-config.yaml, setting node: system and python: python3, and reformats stages: [commit-msg] to stages: [ commit-msg ]. These are developer-tooling configuration changes for the pre-commit framework. They do not modify any source code, build artifacts, cryptographic logic, or network protocol handling.
Changed components
.pre-commit-config.yamlInspect captured patch +5 / −1
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e1f4cdcf..65e0f58b 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:
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.