-
Notifications
You must be signed in to change notification settings - Fork 114
/
.pylintrc-mandatory.jinja
94 lines (89 loc) · 2.38 KB
/
.pylintrc-mandatory.jinja
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[MASTER]
load-plugins=pylint_odoo
score=n
[ODOOLINT]
{%- if odoo_version < 16 %}
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
manifest_required_keys=license
manifest_deprecated_keys=active
valid_odoo_versions={{ odoo_version }}
{%- else %}
readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
manifest-required-keys=license
manifest-deprecated-keys=active
valid-odoo-versions={{ odoo_version }}
{%- endif %}
[MESSAGES CONTROL]
disable=all
enable=attribute-deprecated,
manifest-author-string,
manifest-deprecated-key,
manifest-required-key,
manifest-version-format,
method-compute,
method-inverse,
method-required-super,
method-search,
print-used,
sql-injection,
translation-field,
translation-required,
use-vim-comment,
{%- if odoo_version < 16 %}
anomalous-backslash-in-string,
api-one-deprecated,
api-one-multi-together,
assignment-from-none,
class-camelcase,
dangerous-default-value,
dangerous-view-replace-wo-priority,
duplicate-id-csv,
duplicate-key,
duplicate-xml-fields,
duplicate-xml-record-id,
eval-referenced,
eval-used,
incoherent-interpreter-exec-perm,
missing-import-error,
missing-manifest-dependency,
openerp-exception-warning,
pointless-statement,
pointless-string-statement,
redundant-keyword-arg,
redundant-modulename-xml,
reimported,
relative-import,
return-in-init,
rst-syntax-error,
too-few-format-args,
unreachable,
wrong-tabs-instead-of-spaces,
xml-syntax-error
{%- else %}
attribute-string-redundant,
bad-builtin-groupby,
context-overridden,
external-request-timeout,
manifest-data-duplicated,
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
{%- endif %}
[REPORTS]
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
output-format=colorized
reports=no