X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.coafile;h=60e83070f29ef42c5050e595d732c8608e4a3afa;hb=23f64b47684853e481bda28ae0f529144596c5b3;hp=840c884c95fe8f0c4b120cfb91865fca3c1a611a;hpb=acc4fc7871996357d707a5ddc830ab3386e7ebab;p=releng%2Fbuilder.git diff --git a/.coafile b/.coafile index 840c884c9..60e83070f 100644 --- a/.coafile +++ b/.coafile @@ -1,22 +1,44 @@ -[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/**, + jjb/integration/**, + 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 -files = jenkins-scripts/**/*.sh, - jjb/autorelease/**/*.sh, - jjb/docs/**/*.sh, - jjb/netvirt/**/*.sh, - scripts/**/*.sh -shell = bash