From 5157cca4114787c7c33fe114ba0d043b36293f10 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 18 Jul 2025 09:05:00 -0400 Subject: [PATCH] gitlint: adapt configuration to deal with migration warnings Get rid of this warning: WARNING: I4 - ignore-by-author-name: gitlint will be switching from using Python regex 'match' (match beginning) to 'search' (match anywhere) semantics. Please review your ignore-by-author-name.regex option accordingly. To remove this warning, set general.regex-style-search=True. More details: https://jorisroovers.github.io/gitlint/configuration/#regex-style-search Signed-off-by: Anas Nashif --- .gitlint | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlint b/.gitlint index 16e9bdca9aaae..f837a21c57a75 100644 --- a/.gitlint +++ b/.gitlint @@ -1,6 +1,7 @@ # All these sections are optional, edit this file as you like. # Zephyr-specific defaults are located in scripts/gitlint/zephyr_commit_rules.py [general] +regex-style-search=true ignore=title-trailing-punctuation, T3, title-max-length, T1, body-hard-tab, B3, B1 # verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this verbosity = 3