From 8ea0d7d6bb3c90f03753b2abc0a65d80df0c7b25 Mon Sep 17 00:00:00 2001 From: Florent THOMAS Date: Fri, 4 Feb 2022 09:12:07 +0100 Subject: [PATCH] more quality options --- .pylintrc => .pylintrc-mandatory | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) rename .pylintrc => .pylintrc-mandatory (61%) diff --git a/.pylintrc b/.pylintrc-mandatory similarity index 61% rename from .pylintrc rename to .pylintrc-mandatory index a0a588b7..d103a97e 100644 --- a/.pylintrc +++ b/.pylintrc-mandatory @@ -4,22 +4,15 @@ score=n [ODOOLINT] 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_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 -valid_odoo_versions=10.0 +valid_odoo_versions={{ odoo_version }} [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. - enable=anomalous-backslash-in-string, api-one-deprecated, api-one-multi-together, @@ -63,24 +56,7 @@ enable=anomalous-backslash-in-string, unreachable, use-vim-comment, wrong-tabs-instead-of-spaces, - 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 - + xml-syntax-error [REPORTS] msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}