X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=releng%2Fbuilder.git;a=blobdiff_plain;f=.coafile;h=f087a8e75323cbb718dfec277f19972ec4eaa01d;hp=40e4c3ac1a4b5f5ef2bcc956b52efaa96fcfedf3;hb=3f5f5cda89f01bf899faa93ad57f31ca076ea742;hpb=b60001fddbfd16c822f9eb92672e52433ebf8337 diff --git a/.coafile b/.coafile index 40e4c3ac1..f087a8e75 100644 --- a/.coafile +++ b/.coafile @@ -1,4 +1,16 @@ -[GitCommit] +[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, @@ -6,41 +18,27 @@ ignore_length_regex = Signed-off-by, http://, https:// -[JSON] +[all.JSON] bears = JSONFormatBear -files = **/*.json -ignore = .*/** +files = **.json +ignore = .** indent_size = 2 -[YAML] +[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 + +[all.YAML] bears = YAMLLintBear files = jjb/**/*.yaml,openstack-hot/**/*.yaml document_start = True yamllint_config = yamllint.conf - -[ShellCheck] -bears = ShellCheckBear,SpaceConsistencyBear -files = jenkins-scripts/**/*.sh, - jjb/**/*.sh, - scripts/**/*.sh -ignore = jenkins-scripts/*-local-env.sh, - jjb/integration/include-raw-integration-compare-distributions.sh, - jjb/integration/include-raw-integration-configure-clustering.sh, - jjb/integration/include-raw-integration-deploy-controller-offline.sh, - jjb/integration/include-raw-integration-deploy-controller-run-test.sh, - jjb/integration/include-raw-integration-deploy-controller-verify.sh, - jjb/integration/include-raw-integration-deploy-openstack-run-test.sh, - jjb/integration/include-raw-integration-distribution-check.sh, - jjb/integration/include-raw-integration-get-bundle-url-root.sh, - jjb/integration/include-raw-integration-get-bundle-url.sh, - jjb/integration/include-raw-integration-get-bundle-vars.sh, - jjb/integration/include-raw-integration-get-slave-addresses.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, - 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