From: Thanh Ha Date: Fri, 10 Mar 2017 18:54:44 +0000 (-0500) Subject: Reorg .coafile for better handling of bears X-Git-Tag: v0.0.8~3 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=ac9651c34d73d58b3d5b196eb4ed8c4e1c7d6fc5;p=releng%2Flftools.git Reorg .coafile for better handling of bears Change-Id: I300128fa181ccd326f0626789f454fc8e5ed0f98 Signed-off-by: Thanh Ha --- diff --git a/.coafile b/.coafile index b1d56641..5406fa94 100644 --- 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 +