Skip to content

Commit

Permalink
[REF] pre_commit_vauxoo: Update pylint version
Browse files Browse the repository at this point in the history
  • Loading branch information
moylop260 committed Jan 10, 2025
1 parent d210d27 commit 9ab39b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/pre_commit_vauxoo/cfg/.pre-commit-config-optional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/pre_commit_vauxoo/cfg/.pylintrc
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions src/pre_commit_vauxoo/cfg/.pylintrc-optional
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[MASTER]
[MAIN]
profile=no
ignore=CVS,.git,scenarios,.bzr
persistent=yes
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 9ab39b4

Please sign in to comment.