X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.coafile;h=43f08464b852c56b13eeb848c0d4c72716fc780a;hb=9a0bfe3d4a185c9dc18c6336e5726c69419341f9;hp=9a1f01e4536ab31aa60f1a7a752011fc667633e2;hpb=bd84ecaf0b6b0747db55edd78549e03c936b4e69;p=integration%2Fpackaging.git diff --git a/.coafile b/.coafile index 9a1f01e..43f0846 100644 --- a/.coafile +++ b/.coafile @@ -1,83 +1,118 @@ -[default] -ignore = .tox/**, .git/**, .gitignore, .gitreview, .gitmodules, - **/provisioning/roles/**, node_modules/**, **.sw?, - ansible/ansible-opendaylight/**, puppet/puppet-opendaylight/**, - docs/conf.py, **/.vagrant/**, **.box, **postman_collection**, - **packer_cache**, **.tar.gz, **.rpm, **.pyc - -[spacing] +[all] +ignore = .tox/**, + .git/**, + .gitignore, + .gitreview, + **/provisioning/roles/**, + node_modules/**, + **.sw?, + **.orig, + ansible/ansible-opendaylight/**, + puppet/puppet-opendaylight/**, + docs/conf.py, + **/.vagrant/**, + **.box, + **postman_collection**, + **packer_cache**, + **.tar.gz, + **.zip, + **.rpm, + **.pyc, + packages/deb/templates/rules_template, + packages/deb/opendaylight**, + packages/cache/distribution-karaf-**, + packages/cache/karaf-** + +[all.spacing] bears = SpaceConsistencyBear -enabled = False use_spaces = True enforce_newline_at_EOF = False files = ** default_actions = SpaceConsistencyBear: ApplyPatchAction -[linelength] +[all.linelength] bears = LineLengthBear enabled = False max_line_length = 100 -[rest] -bears = RSTcheckBear, reSTLintBear -enabled = False +[all.rest] +bears = RSTcheckBear, + reSTLintBear files = **.rst -[markdown] +[all.markdown] bears = MarkdownBear -enabled = False -files = **.markdown, **.md +files = **.markdown, + **.md default_actions = MarkdownBear: ApplyPatchAction -[dockerfile] +[all.dockerfile] bears = DockerfileLintBear -enabled = False files = **Dockerfile -[json] +[all.json] bears = JSONFormatBear files = **.json default_actions = JSONFormatBear: ApplyPatchAction -[shell] +[all.shell] bears = ShellCheckBear +shell = bash files = **.sh -[python] -bears = PEP8Bear, PyUnusedCodeBear, PyImportSortBear +[all.python] +bears = PEP8Bear, + PyUnusedCodeBear, + PyImportSortBear files = **.py default_actions = PyUnusedCodeBear: ApplyPatchAction, PyImportSortBear: ApplyPatchAction -[python-hard] -bears = PyLintBear, PyFlakesBear +[all.python-hard] +bears = PyLintBear, + PyFlakesBear enabled = False files = **.py -[yaml] +[all.Documentation] +bears = WriteGoodLintBear +files = **.markdown, + **.md, + **.rst +allow_so_beginning = False +allow_there_is = False +allow_cliche_phrases = False + +[all.yaml] bears = YAMLLintBear yamllint_config = .yamllint -files = **.yaml, **.yml +files = **.yaml, + **.yml -[ruby] -bears = RubySyntaxBear, RubySmellBear, RuboCopBear +[all.ruby] +bears = RubySyntaxBear, + RubySmellBear, + RuboCopBear files = **.rb enabled = False -[puppet] +[all.puppet] bears = PuppetLintBear enabled = False -[jinja] +[all.jinja] bears = Jinja2Bear -files = rpm/specs/opendaylight.spec, deb/templates/**_template** +files = packages/rpm/specs/opendaylight.spec, + packages/deb/templates/**_template** -[git] +[all.git] bears = GitCommitBear ignore_length_regex = Signed-off-by, Also-by, Co-authored-by, + http://, + https:// -[xml] +[all.xml] bears = XMLBear -enabled = False +files = **.xml