X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.coafile;h=f087a8e75323cbb718dfec277f19972ec4eaa01d;hb=004074c93df915b1f927f7471ba41bb7445fcf6a;hp=37ed70d66ba7ded2c34a35d9a0224c45c43eeb93;hpb=5e174f5369c8d24a081f37f8ea227c1fff8ebb0e;p=releng%2Fbuilder.git diff --git a/.coafile b/.coafile index 37ed70d66..f087a8e75 100644 --- a/.coafile +++ b/.coafile @@ -1,12 +1,43 @@ -[default] -bears = SpaceConsistencyBear,GitCommitBear -files = scripts/* -allow_trailing_whitespace = False -enforce_newline_at_EOF = True +[all] +ignore = .** + +[all.Documentation] +bears = WriteGoodLintBear +files = **.markdown, + **.md, + **.rst +allow_so_beginning = False +allow_there_is = False +allow_cliche_phrases = False + +[all.GitCommit] +bears = GitCommitBear +ignore_length_regex = Signed-off-by, + Also-by, + Co-authored-by, + http://, + https:// + +[all.JSON] +bears = JSONFormatBear +files = **.json +ignore = .** +indent_size = 2 + +[all.ShellCheck] +bears = ShellCheckBear, + SpaceConsistencyBear +files = **.sh +ignore = .git/**, + .tox/**, + jjb/global-jjb/**, + jenkins-config/**, + jenkins-scripts/*-local-env.sh +shell = bash indent_size = 4 use_spaces = yeah -[YAML] +[all.YAML] bears = YAMLLintBear files = jjb/**/*.yaml,openstack-hot/**/*.yaml document_start = True