Add Packer Carbon SR3 config file
[integration/packaging.git] / .coafile
index 5c65f4cce277aedc51983494538ee29bf4db1e45..43f08464b852c56b13eeb848c0d4c72716fc780a 100644 (file)
--- a/.coafile
+++ b/.coafile
-[Default]
-ignore = .tox/**, .gitignore, .gitreview, .gitmodules, **/provisioning/roles/**, \
-         node_modules/**, ansible/ansible-opendaylight/**, docs/conf.py
-use_spaces = True
+[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-**
 
-[DOCS]
-bears = SpaceConsistencyBear, LineLengthBear
-#files = ./**/*.rst
+[all.spacing]
+bears = SpaceConsistencyBear
+use_spaces = True
+enforce_newline_at_EOF = False
+files = **
 default_actions = SpaceConsistencyBear: ApplyPatchAction
 
-[markdown]
+[all.linelength]
+bears = LineLengthBear
+enabled = False
+max_line_length = 100
+
+[all.rest]
+bears = RSTcheckBear,
+    reSTLintBear
+files = **.rst
+
+[all.markdown]
 bears = MarkdownBear
-#files = ./**/*.markdown, ./**/*.md
+files = **.markdown,
+    **.md
 default_actions = MarkdownBear: ApplyPatchAction
 
-[dockerfile]
+[all.dockerfile]
 bears = DockerfileLintBear
-#files = ./**/Dockerfile
+files = **Dockerfile
 
-[json]
+[all.json]
 bears = JSONFormatBear
-#files = ./**/*.json
+files = **.json
 default_actions = JSONFormatBear: ApplyPatchAction
 
-[shellcheck]
+[all.shell]
 bears = ShellCheckBear
-#files = **/*.sh
+shell = bash
+files = **.sh
+
+[all.python]
+bears = PEP8Bear,
+    PyUnusedCodeBear,
+    PyImportSortBear
+files = **.py
+default_actions = PyUnusedCodeBear: ApplyPatchAction,
+    PyImportSortBear: ApplyPatchAction
 
-[python]
-bears = PyUnusedCodeBear
-files = ./**/*.py
-default_actions = PyUnusedCodeBear: ApplyPatchAction
+[all.python-hard]
+bears = PyLintBear,
+    PyFlakesBear
+enabled = False
+files = **.py
 
-[autopep8]
-bears = PEP8Bear
-files = ./**/*.py
-default_actions = PEP8Bear: ApplyPatchAction
+[all.Documentation]
+bears = WriteGoodLintBear
+files = **.markdown,
+    **.md,
+    **.rst
+allow_so_beginning = False
+allow_there_is = False
+allow_cliche_phrases = False
 
-[yaml]
+[all.yaml]
 bears = YAMLLintBear
 yamllint_config = .yamllint
-files = ./**/*.yaml, ./**/*.yml
+files = **.yaml,
+    **.yml
+
+[all.ruby]
+bears = RubySyntaxBear,
+    RubySmellBear,
+    RuboCopBear
+files = **.rb
+enabled = False
+
+[all.puppet]
+bears = PuppetLintBear
+enabled = False
+
+[all.jinja]
+bears = Jinja2Bear
+files = packages/rpm/specs/opendaylight.spec,
+    packages/deb/templates/**_template**
+
+[all.git]
+bears = GitCommitBear
+ignore_length_regex = Signed-off-by,
+    Also-by,
+    Co-authored-by,
+    http://,
+    https://
+
+[all.xml]
+bears = XMLBear
+files = **.xml