From 8456d42a7b95f41d39cf2c3ff0e95fe0b73fda17 Mon Sep 17 00:00:00 2001 From: Ivan Uribe Date: Tue, 24 Feb 2026 09:55:26 -0500 Subject: [PATCH 1/2] fix: don't execute linter and format --- src/dev_tools_hooks/hooks/pre-commit | 2 ++ src/dev_tools_hooks/hooks/pre-push | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/dev_tools_hooks/hooks/pre-commit b/src/dev_tools_hooks/hooks/pre-commit index 51b68ac..9e0d723 100644 --- a/src/dev_tools_hooks/hooks/pre-commit +++ b/src/dev_tools_hooks/hooks/pre-commit @@ -47,6 +47,7 @@ yaml_get() { in_section && /^[a-zA-Z]/ { in_section=0 } in_section && $0 ~ "^ "child":" { gsub(/^ [a-zA-Z_-]+:[ ]*/, "") + gsub(/^[ \t]+|[ \t]+$/, "") gsub(/^["'\'']|["'\'']$/, "") gsub(/^[ \t]+|[ \t]+$/, "") print @@ -57,6 +58,7 @@ yaml_get() { awk -v key="$key" ' $0 ~ "^"key":" { gsub(/^[a-zA-Z_-]+:[ ]*/, "") + gsub(/^[ \t]+|[ \t]+$/, "") gsub(/^["'\'']|["'\'']$/, "") gsub(/^[ \t]+|[ \t]+$/, "") print diff --git a/src/dev_tools_hooks/hooks/pre-push b/src/dev_tools_hooks/hooks/pre-push index d872391..4436674 100755 --- a/src/dev_tools_hooks/hooks/pre-push +++ b/src/dev_tools_hooks/hooks/pre-push @@ -57,6 +57,7 @@ yaml_get() { in_section && /^[a-zA-Z]/ { in_section=0 } in_section && $0 ~ "^ "child":" { gsub(/^ [a-zA-Z_-]+:[ ]*/, "") + gsub(/^[ \t]+|[ \t]+$/, "") gsub(/^["'\'']|["'\'']$/, "") gsub(/^[ \t]+|[ \t]+$/, "") print @@ -67,6 +68,7 @@ yaml_get() { awk -v key="$key" ' $0 ~ "^"key":" { gsub(/^[a-zA-Z_-]+:[ ]*/, "") + gsub(/^[ \t]+|[ \t]+$/, "") gsub(/^["'\'']|["'\'']$/, "") gsub(/^[ \t]+|[ \t]+$/, "") print From b6a37986b17f4a89a5821f794af5d07a3517828a Mon Sep 17 00:00:00 2001 From: Ivan Uribe Date: Tue, 24 Feb 2026 09:59:13 -0500 Subject: [PATCH 2/2] fix: don't execute linter and format --- src/dev_tools_hooks/hooks/pre-commit | 2 +- src/dev_tools_hooks/hooks/pre-push | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dev_tools_hooks/hooks/pre-commit b/src/dev_tools_hooks/hooks/pre-commit index 9e0d723..eab6902 100644 --- a/src/dev_tools_hooks/hooks/pre-commit +++ b/src/dev_tools_hooks/hooks/pre-commit @@ -257,7 +257,7 @@ run_commands() { cd "$PROJECT_ROOT" || exit 1 - if eval "$full_cmd"; then + if eval "$full_cmd"