From c0bb7b3671dac3223af30c19819bc7c095a0cf31 Mon Sep 17 00:00:00 2001 From: Daniel Reis Date: Sun, 26 Feb 2023 13:06:31 +0000 Subject: [PATCH] [REF] pre-commit: copier update, fix pre-commit --- .copier-answers.yml | 2 +- .pre-commit-config.yaml | 13 ++++--------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 787a516c6..85d566f67 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bafa7b262..f07a148a5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 -