Merge pull request #987 from OCA/12-fix-precommit

[REF] pre-commit: copier update, fix pre-commit
This commit is contained in:
Pedro M. Baeza
2023-02-26 19:25:45 +01:00
committed by GitHub
2 changed files with 5 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.14.0
_commit: v1.14.1
_src_path: git+https://github.com/oca/oca-addons-repo-template
ci: GitHub
dependency_installation_mode: PIP

View File

@@ -41,20 +41,15 @@ repos:
language_version: python3.6
name: flake8 excluding __init__.py
exclude: __init__\.py
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.5.3
- repo: https://github.com/OCA/pylint-odoo
rev: 7.0.2
hooks:
- id: pylint
- id: pylint_odoo
name: pylint with optional checks
args:
- --rcfile=.pylintrc
- --exit-zero
verbose: true
additional_dependencies: &pylint_deps
- pylint-odoo==3.5.0
- id: pylint
name: pylint with mandatory checks
- id: pylint_odoo
args:
- --rcfile=.pylintrc-mandatory
additional_dependencies: *pylint_deps