X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.coafile;h=5e0df38e29daad90417a7b61fea14010ed5bb275;hb=d6242491e367b40ecd28286c0180613032377add;hp=6802f48afea3349f6b8aee0b5ffdf1252ecf0f0d;hpb=8aaa8e13b9d7faf730f9198fc97ef4366b0c6cf4;p=releng%2Fbuilder.git diff --git a/.coafile b/.coafile index 6802f48af..5e0df38e2 100644 --- a/.coafile +++ b/.coafile @@ -1,21 +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/**, + jenkins-scripts/*-local-env.sh, + jjb/integration/integration-deploy-openstack-run-test.sh +shell = bash indent_size = 4 use_spaces = yeah -[YAML] +[all.YAML] bears = YAMLLintBear files = jjb/**/*.yaml,openstack-hot/**/*.yaml document_start = True yamllint_config = yamllint.conf - -[ShellCheck] -bears = ShellCheckBear -files = jenkins-scripts/**/*.sh, - jjb/**/*.sh, - scripts/**/*.sh -ignore = jjb/integration/*.sh -shell = bash