X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.coafile;h=47cf0afb0b62d28f3efad57549d4f6ee72186348;hb=refs%2Fchanges%2F47%2F67847%2F1;hp=d5300498e8033308031eef9e219015cd4582df57;hpb=a6e49a8cd3d9a415e9f278de1440c68387fe41a5;p=releng%2Fbuilder.git diff --git a/.coafile b/.coafile index d5300498e..47cf0afb0 100644 --- a/.coafile +++ b/.coafile @@ -1,25 +1,43 @@ -[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/**, + 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, - jjb/ovsdb/**/*.sh, - scripts/**/*.sh -shell = bash