@@ -4,13 +4,22 @@ score=n
44
55[ODOOLINT]
66readme_template_url =" https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
7+ manifest_required_authors =Odoo Community Association (OCA)
78manifest_required_keys =license
89manifest_deprecated_keys =description,active
910license_allowed =AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
11+ valid_odoo_versions =15.0
1012
1113[MESSAGES CONTROL]
1214disable =all
1315
16+ # This .pylintrc contains optional AND mandatory checks and is meant to be
17+ # loaded in an IDE to have it check everything, in the hope this will make
18+ # optional checks more visible to contributors who otherwise never look at a
19+ # green travis to see optional checks that failed.
20+ # .pylintrc-mandatory containing only mandatory checks is used the pre-commit
21+ # config as a blocking check.
22+
1423enable =anomalous-backslash-in-string,
1524 api-one-deprecated,
1625 api-one-multi-together,
@@ -19,6 +28,7 @@ enable=anomalous-backslash-in-string,
1928 class-camelcase,
2029 dangerous-default-value,
2130 dangerous-view-replace-wo-priority,
31+ development-status-allowed,
2232 duplicate-id-csv,
2333 duplicate-key,
2434 duplicate-xml-fields,
@@ -35,8 +45,6 @@ enable=anomalous-backslash-in-string,
3545 method-inverse,
3646 method-required-super,
3747 method-search,
38- missing-import-error,
39- missing-manifest-dependency,
4048 openerp-exception-warning,
4149 pointless-statement,
4250 pointless-string-statement,
@@ -54,7 +62,56 @@ enable=anomalous-backslash-in-string,
5462 unreachable,
5563 use-vim-comment,
5664 wrong-tabs-instead-of-spaces,
57- xml-syntax-error
65+ xml-syntax-error,
66+ attribute-string-redundant,
67+ character-not-valid-in-resource-link,
68+ consider-merging-classes-inherited,
69+ context-overridden,
70+ create-user-wo-reset-password,
71+ dangerous-filter-wo-user,
72+ dangerous-qweb-replace-wo-priority,
73+ deprecated-data-xml-node,
74+ deprecated-openerp-xml-node,
75+ duplicate-po-message-definition,
76+ except-pass,
77+ file-not-used,
78+ invalid-commit,
79+ manifest-maintainers-list,
80+ missing-newline-extrafiles,
81+ missing-readme,
82+ missing-return,
83+ odoo-addons-relative-import,
84+ old-api7-method-defined,
85+ po-msgstr-variables,
86+ po-syntax-error,
87+ renamed-field-parameter,
88+ resource-not-exist,
89+ str-format-used,
90+ test-folder-imported,
91+ translation-contains-variable,
92+ translation-positional-used,
93+ unnecessary-utf8-coding-comment,
94+ website-manifest-key-not-valid-uri,
95+ xml-attribute-translatable,
96+ xml-deprecated-qweb-directive,
97+ xml-deprecated-tree-attribute,
98+ # messages that do not cause the lint step to fail
99+ consider-merging-classes-inherited,
100+ create-user-wo-reset-password,
101+ dangerous-filter-wo-user,
102+ deprecated-module,
103+ file-not-used,
104+ invalid-commit,
105+ missing-manifest-dependency,
106+ missing-newline-extrafiles,
107+ missing-readme,
108+ no-utf8-coding-comment,
109+ odoo-addons-relative-import,
110+ old-api7-method-defined,
111+ redefined-builtin,
112+ too-complex,
113+ unnecessary-utf8-coding-comment
114+
58115
59116[REPORTS]
60117msg-template ={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
0 commit comments