X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.coafile;h=be72b76cec5c37f588487cc2f5c433aaa434295a;hb=refs%2Fchanges%2F46%2F60846%2F3;hp=4b83bf2b7bfb0210d21c51e69f5003ab4e894735;hpb=f616480d653017656ea9849cac51b87530f766bf;p=releng%2Fbuilder.git diff --git a/.coafile b/.coafile index 4b83bf2b7..be72b76ce 100644 --- a/.coafile +++ b/.coafile @@ -1,18 +1,48 @@ -[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/include-raw-integration-deploy-controller-run-test.sh, + jjb/integration/include-raw-integration-deploy-openstack-run-test.sh, + jjb/integration/include-raw-integration-list-jobs.sh, + jjb/integration/include-raw-integration-multipatch-distribution-test.sh, + jjb/integration/include-raw-integration-replace-block-text.sh, + jjb/integration/include-raw-integration-start-cluster-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/autorelease/**/*.sh, scripts/**/*.sh -shell = bash