From 9ab39b49cfa2edc50dcdfd978e87d97959125c93 Mon Sep 17 00:00:00 2001 From: "Moises Lopez - https://www.vauxoo.com/" Date: Fri, 10 Jan 2025 16:17:04 -0600 Subject: [PATCH] [REF] pre_commit_vauxoo: Update pylint version --- src/pre_commit_vauxoo/cfg/.pre-commit-config-optional.yaml | 2 +- src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml | 2 +- src/pre_commit_vauxoo/cfg/.pylintrc | 3 ++- src/pre_commit_vauxoo/cfg/.pylintrc-optional | 5 ++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pre_commit_vauxoo/cfg/.pre-commit-config-optional.yaml b/src/pre_commit_vauxoo/cfg/.pre-commit-config-optional.yaml index bd8db34..1cab290 100644 --- a/src/pre_commit_vauxoo/cfg/.pre-commit-config-optional.yaml +++ b/src/pre_commit_vauxoo/cfg/.pre-commit-config-optional.yaml @@ -29,7 +29,7 @@ default_language_version: node: "14.13.0" repos: - repo: https://github.com/OCA/pylint-odoo - rev: v9.2.0 + rev: v9.3.0 hooks: - id: pylint_odoo name: pylint optional checks diff --git a/src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml b/src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml index 0c0bfc5..ddff0a0 100644 --- a/src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml +++ b/src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: - id: flake8 name: flake8 mandatory checks - repo: https://github.com/OCA/pylint-odoo - rev: v9.2.0 + rev: v9.3.0 hooks: - id: pylint_odoo name: pylint mandatory checks diff --git a/src/pre_commit_vauxoo/cfg/.pylintrc b/src/pre_commit_vauxoo/cfg/.pylintrc index fa2f0f8..d9e5734 100644 --- a/src/pre_commit_vauxoo/cfg/.pylintrc +++ b/src/pre_commit_vauxoo/cfg/.pylintrc @@ -1,4 +1,4 @@ -[MASTER] +[MAIN] ignore=CVS,.git,scenarios,LICENSE,*.md persistent=yes # This extension are not used for this configuration file but are useful to process disable comments based on these ones @@ -158,6 +158,7 @@ disable=abstract-method, # ungrouped-imports: We uses a lot "from odoo import fields;from odoo.tools import ..." so it is a valid case for us # duplicate-code: Enable after fix https://github.com/PyCQA/pylint/issues/214 # assignment-from-no-return: pylint doesn't have the full context of all modules even we could return the same +# useless-option-value: Raises error when a check doesn't exists but what about multi-compatibility #***Enabled and how to fix*** #E1103 - maybe-no-member diff --git a/src/pre_commit_vauxoo/cfg/.pylintrc-optional b/src/pre_commit_vauxoo/cfg/.pylintrc-optional index 495242d..2d5af09 100644 --- a/src/pre_commit_vauxoo/cfg/.pylintrc-optional +++ b/src/pre_commit_vauxoo/cfg/.pylintrc-optional @@ -1,4 +1,4 @@ -[MASTER] +[MAIN] profile=no ignore=CVS,.git,scenarios,.bzr persistent=yes @@ -74,8 +74,7 @@ enable=attribute-deprecated, use-symbolic-message-instead, use-vim-comment, useless-parent-delegation, - useless-option-value, - website-manifest-key-not-valid-uri + website-manifest-key-not-valid-uri, [REPORTS] msg-template={path}:{line}:{column}: ({symbol}) {msg}