From b2b9c77826aaa5ddc637d3627ec76ecef7f79909 Mon Sep 17 00:00:00 2001 From: Robin Keunen Date: Wed, 9 Nov 2022 17:55:22 +0100 Subject: [PATCH] [FIX] Update from copier template to fix pre-commit --- .copier-answers.yml | 7 ++++++- .pre-commit-config.yaml | 12 ++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index c2851e327..3bec644ea 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,9 +1,14 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v2.0.11 +_commit: v2.1.2 _src_path: https://github.com/coopiteasy/oca-addons-repo-template.git ci: GitHub dependency_installation_mode: OCA generate_requirements_txt: true +github_check_license: true +github_enable_codecov: true +github_enable_makepot: true +github_enable_stale_action: true +github_enforce_dev_status_compatibility: true include_wkhtmltopdf: false odoo_version: 14.0 org_name: Coop IT Easy SC diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 682f02a43..34b70833b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -119,19 +119,15 @@ repos: - id: flake8 name: flake8 additional_dependencies: ["flake8-bugbear==20.1.4"] - - repo: https://github.com/PyCQA/pylint - rev: v2.11.1 + - 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==5.0.5 - - id: pylint - name: pylint with mandatory checks + - id: pylint_odoo args: - --rcfile=.pylintrc-mandatory - additional_dependencies: *pylint_deps