X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.coafile;h=f087a8e75323cbb718dfec277f19972ec4eaa01d;hb=b977cc4bd29fd58c1371d45fcfc6c6b14fc472d4;hp=17ba2c49432410c43e2673947e7e0575d5f39b43;hpb=eb120862b24e9537a59dc38ac700399307093f0a;p=releng%2Fbuilder.git diff --git a/.coafile b/.coafile index 17ba2c494..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,20 +18,27 @@ ignore_length_regex = Signed-off-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 yamllint_config = yamllint.conf - -[ShellCheck] -bears = ShellCheckBear,SpaceConsistencyBear -files = jenkins-scripts/**/*.sh, - jjb/**/*.sh, - scripts/**/*.sh -ignore = jenkins-scripts/*-local-env.sh, - jjb/integration/*.sh -shell = bash -indent_size = 4 -use_spaces = yeah