From bb52124581754418cbecad2a6e16d56e6ded0d6a Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Fri, 10 Mar 2017 11:49:47 -0500 Subject: [PATCH] Disable GitCommit check for some patterns Some patterns can be long such as: - Sign-off-by when someone has a long name - http / https URLs Change-Id: Ie5401a116de9599aaf85b91e63e1522d962c8e1a Signed-off-by: Thanh Ha --- .coafile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.coafile b/.coafile index 945b4eab8..8bf881089 100644 --- a/.coafile +++ b/.coafile @@ -1,11 +1,20 @@ [default] -bears = SpaceConsistencyBear,GitCommitBear +bears = SpaceConsistencyBear files = scripts/* allow_trailing_whitespace = False enforce_newline_at_EOF = True indent_size = 4 use_spaces = yeah +[GitCommit] +bears = GitCommitBear +ignore_length_regex = Signed-off-by, + Also-by, + Co-authored-by, + http://, + https:// + + [YAML] bears = YAMLLintBear files = jjb/**/*.yaml,openstack-hot/**/*.yaml -- 2.36.6