This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new 98d99a0  pre-commit light use global `node_modules` exclude
98d99a0 is described below

commit 98d99a083cd0580a4071a099fef7462daf208775
Author: John Bampton <[email protected]>
AuthorDate: Thu Nov 27 01:04:03 2025 +1000

    pre-commit light use global `node_modules` exclude
    
    Made it similar to the standard pre-commit config
---
 .pre-commit-light.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.pre-commit-light.yaml b/.pre-commit-light.yaml
index 749ddbf..3de3bd1 100644
--- a/.pre-commit-light.yaml
+++ b/.pre-commit-light.yaml
@@ -1,3 +1,4 @@
+exclude: ^node_modules/
 repos:
 - repo: local
   hooks:
@@ -6,14 +7,12 @@ repos:
       entry: ruff check --fix
       language: system
       types: [python]
-      exclude: ^node_modules/
 
     - id: ruff-format
       name: Ruff Formatter
       entry: ruff format --force-exclude
       language: system
       types: [python]
-      exclude: ^node_modules/
 
     - id: pyright
       name: Pyright Type Check
@@ -21,4 +20,4 @@ repos:
       language: system
       require_serial: true
       types: [python]
-      exclude: ^(node_modules|tests)/
+      exclude: ^tests/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to