-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pylintrc
74 lines (69 loc) · 2.18 KB
/
.pylintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[MASTER]
load-plugins=pylint_odoo
score=n
[ODOOLINT]
readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
manifest-required-authors=Spearhead
manifest-required-keys=license
manifest-deprecated-keys=description,active
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3,OPL-1,OEEL-1
valid-odoo-versions=18.0
[MESSAGES CONTROL]
disable=all
# This .pylintrc contains optional AND mandatory checks and is meant to be
# loaded in an IDE to have it check everything, in the hope this will make
# optional checks more visible to contributors who otherwise never look at a
# green travis to see optional checks that failed.
# .pylintrc-mandatory containing only mandatory checks is used the pre-commit
# config as a blocking check.
# messages that do not cause the lint step to fail
enable=attribute-deprecated,
consider-merging-classes-inherited,
invalid-commit,
license-allowed,
manifest-author-string,
manifest-deprecated-key,
manifest-required-author,
manifest-required-key,
manifest-version-format,
method-compute,
method-inverse,
method-required-super,
method-search,
missing-readme,
odoo-addons-relative-import,
print-used,
sql-injection,
translation-field,
translation-required,
use-vim-comment,
attribute-string-redundant,
bad-builtin-groupby,
context-overridden,
development-status-allowed,
except-pass,
external-request-timeout,
manifest-data-duplicated,
manifest-maintainers-list,
missing-return,
no-raise-unlink,
no-wizard-in-models,
no-write-in-compute,
odoo-exception-warning,
renamed-field-parameter,
resource-not-exist,
test-folder-imported,
translation-contains-variable,
translation-format-interpolation,
translation-format-truncated,
translation-fstring-interpolation,
translation-not-lazy,
translation-positional-used,
translation-too-few-args,
translation-too-many-args,
translation-unsupported-format,
website-manifest-key-not-valid-uri
[REPORTS]
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
output-format=colorized
reports=no