Reorg .coafile for better handling of bears 50/4050/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 10 Mar 2017 18:54:44 +0000 (13:54 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 10 Mar 2017 18:54:44 +0000 (13:54 -0500)
Change-Id: I300128fa181ccd326f0626789f454fc8e5ed0f98
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.coafile

index b1d5664..5406fa9 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -1,17 +1,28 @@
-[default]
-bears = SpaceConsistencyBear,GitCommitBear
-files = shell/*
-allow_trailing_whitespace = False
-enforce_newline_at_EOF = True
-indent_size = 4
-use_spaces = yeah
+[Git]
+bears = GitCommitBear
+ignore_length_regex = Signed-off-by,
+    Also-by,
+    Co-authored-by,
+    http://,
+    https://
 
 [Python]
-bears = BanditBear,PyCommentedCodeBear,PyDocStyleBear,PyFlakesBear,PyImportSortBear
+bears = BanditBear,
+    PyCommentedCodeBear,
+    PyDocStyleBear,
+    PyFlakesBear,
+    PyImportSortBear,
+    SpaceConsistencyBear
 files = lftools/**/*.py
 pydocstyle_ignore = D203, D213, D301
+indent_size = 4
+use_spaces = yeah
 
-[ShellCheck]
-bears = ShellCheckBear
+[Shell]
+bears = ShellCheckBear,
+    SpaceConsistencyBear
 files = shell/*
 shell = bash
+indent_size = 4
+use_spaces = yeah
+