Add WriteGoodLintBear support
[integration/packaging.git] / .coafile
1 [all]
2 ignore = .tox/**,
3     .git/**,
4     .gitignore,
5     .gitreview,
6     .gitmodules,
7     **/provisioning/roles/**,
8     node_modules/**,
9     **.sw?,
10     **.orig,
11     ansible/ansible-opendaylight/**,
12     puppet/puppet-opendaylight/**,
13     docs/conf.py,
14     **/.vagrant/**,
15     **.box,
16     **postman_collection**,
17     **packer_cache**,
18     **.tar.gz,
19     **.rpm,
20     **.pyc,
21     deb/templates/rules_template
22
23 [all.spacing]
24 bears = SpaceConsistencyBear
25 use_spaces = True
26 enforce_newline_at_EOF = False
27 files = **
28 default_actions = SpaceConsistencyBear: ApplyPatchAction
29
30 [all.linelength]
31 bears = LineLengthBear
32 enabled = False
33 max_line_length = 100
34
35 [all.rest]
36 bears = RSTcheckBear,
37     reSTLintBear
38 files = **.rst
39
40 [all.markdown]
41 bears = MarkdownBear
42 files = **.markdown,
43     **.md
44 default_actions = MarkdownBear: ApplyPatchAction
45
46 [all.dockerfile]
47 bears = DockerfileLintBear
48 files = **Dockerfile
49
50 [all.json]
51 bears = JSONFormatBear
52 files = **.json
53 default_actions = JSONFormatBear: ApplyPatchAction
54
55 [all.shell]
56 bears = ShellCheckBear
57 files = **.sh
58
59 [all.python]
60 bears = PEP8Bear,
61     PyUnusedCodeBear,
62     PyImportSortBear
63 files = **.py
64 default_actions = PyUnusedCodeBear: ApplyPatchAction,
65     PyImportSortBear: ApplyPatchAction
66
67 [all.python-hard]
68 bears = PyLintBear,
69     PyFlakesBear
70 enabled = False
71 files = **.py
72
73 [all.Documentation]
74 bears = WriteGoodLintBear
75 files = **.markdown,
76     **.md,
77     **.rst
78 allow_so_beginning = False
79 allow_there_is = False
80 allow_cliche_phrases = False
81
82 [all.yaml]
83 bears = YAMLLintBear
84 yamllint_config = .yamllint
85 files = **.yaml,
86     **.yml
87
88 [all.ruby]
89 bears = RubySyntaxBear,
90     RubySmellBear,
91     RuboCopBear
92 files = **.rb
93 enabled = False
94
95 [all.puppet]
96 bears = PuppetLintBear
97 enabled = False
98
99 [all.jinja]
100 bears = Jinja2Bear
101 files = rpm/specs/opendaylight.spec,
102     deb/templates/**_template**
103
104 [all.git]
105 bears = GitCommitBear
106 ignore_length_regex = Signed-off-by,
107     Also-by,
108     Co-authored-by,
109     http://,
110     https://
111
112 [all.xml]
113 bears = XMLBear
114 files = **.xml