mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-29 11:56:30 -06:00
more quality options
This commit is contained in:
parent
75b0ff75b9
commit
8ea0d7d6bb
@ -4,22 +4,15 @@ score=n
|
|||||||
|
|
||||||
[ODOOLINT]
|
[ODOOLINT]
|
||||||
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
|
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
|
||||||
manifest_required_authors=Mind And Go,Mind And Go (M&Go),M&Go
|
manifest_required_authors=Odoo Community Association (OCA)
|
||||||
manifest_required_keys=license
|
manifest_required_keys=license
|
||||||
manifest_deprecated_keys=description,active
|
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
|
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
|
||||||
valid_odoo_versions=10.0
|
valid_odoo_versions={{ odoo_version }}
|
||||||
|
|
||||||
[MESSAGES CONTROL]
|
[MESSAGES CONTROL]
|
||||||
disable=all
|
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.
|
|
||||||
|
|
||||||
enable=anomalous-backslash-in-string,
|
enable=anomalous-backslash-in-string,
|
||||||
api-one-deprecated,
|
api-one-deprecated,
|
||||||
api-one-multi-together,
|
api-one-multi-together,
|
||||||
@ -63,24 +56,7 @@ enable=anomalous-backslash-in-string,
|
|||||||
unreachable,
|
unreachable,
|
||||||
use-vim-comment,
|
use-vim-comment,
|
||||||
wrong-tabs-instead-of-spaces,
|
wrong-tabs-instead-of-spaces,
|
||||||
xml-syntax-error,
|
xml-syntax-error
|
||||||
# messages that do not cause the lint step to fail
|
|
||||||
consider-merging-classes-inherited,
|
|
||||||
create-user-wo-reset-password,
|
|
||||||
dangerous-filter-wo-user,
|
|
||||||
deprecated-module,
|
|
||||||
file-not-used,
|
|
||||||
invalid-commit,
|
|
||||||
missing-manifest-dependency,
|
|
||||||
missing-newline-extrafiles,
|
|
||||||
missing-readme,
|
|
||||||
no-utf8-coding-comment,
|
|
||||||
odoo-addons-relative-import,
|
|
||||||
old-api7-method-defined,
|
|
||||||
redefined-builtin,
|
|
||||||
too-complex,
|
|
||||||
unnecessary-utf8-coding-comment
|
|
||||||
|
|
||||||
|
|
||||||
[REPORTS]
|
[REPORTS]
|
||||||
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
|
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
|
Loading…
Reference in New Issue
Block a user