X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.coafile;h=77775285f89363253ee6b199df26eddff0347d8f;hb=003835acd2d9e452ff4d6f829cbce441c5ebd82b;hp=8adaeb47cc8b59335fe2e6a4bdf030561cddac95;hpb=d806945d84c07869401dabc94c822f80b674d7b4;p=releng%2Fbuilder.git diff --git a/.coafile b/.coafile index 8adaeb47c..77775285f 100644 --- a/.coafile +++ b/.coafile @@ -1,24 +1,42 @@ -[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 +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, - jjb/neutron/**/*.sh, - jjb/opflex/**/*.sh, - scripts/**/*.sh -shell = bash