X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.coafile;h=95a58d845cdc6d45ebe2949524f5d6c440fe096b;hb=5d8809cd0117826e851ab896be0ccd23fdf28b1e;hp=df3ea6195aef2346a55c344226bbb0c96bc9cd0b;hpb=6ff73b1e1111e79d0d13e2fbc8001c782306c4ec;p=integration%2Fpackaging.git diff --git a/.coafile b/.coafile index df3ea61..95a58d8 100644 --- a/.coafile +++ b/.coafile @@ -1,82 +1,113 @@ -[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 +[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-** -[spacing] +[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 -files = **.rst - -[markdown] +[all.markdown] bears = MarkdownBear -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