Skip to content

Commit d0dfbce

Browse files
nashifcfriedt
authored andcommitted
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 <anas.nashif@intel.com>
1 parent d3ba674 commit d0dfbce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitlint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# All these sections are optional, edit this file as you like.
22
# Zephyr-specific defaults are located in scripts/gitlint/zephyr_commit_rules.py
33
[general]
4+
regex-style-search=true
45
ignore=title-trailing-punctuation, T3, title-max-length, T1, body-hard-tab, B3, B1
56
# verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this
67
verbosity = 3

0 commit comments

Comments
 (0)