From c22cc01c26b2875aa4acf9b64bc96f264e11c3cf Mon Sep 17 00:00:00 2001 From: Carlos Lopez Date: Fri, 17 Nov 2023 11:14:46 -0500 Subject: [PATCH] [IMP] upgrade pylint version to 9.0.4 to support Odoo 17.0 see https://github.com/OCA/pylint-odoo/pull/477 --- src/.pre-commit-config.yaml.jinja | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/.pre-commit-config.yaml.jinja b/src/.pre-commit-config.yaml.jinja index ce74aca..f8014e2 100644 --- a/src/.pre-commit-config.yaml.jinja +++ b/src/.pre-commit-config.yaml.jinja @@ -54,6 +54,10 @@ {%- set repo_rev.setuptools_odoo = "3.1.8" %} {%- endif %} +{%- if odoo_version > 16 %} + {%- set repo_rev.pylint_odoo = "v9.0.4" %} +{%- endif %} + {#- Older versions that differ a lot have their own hardcoded templates for readability #} {%- if odoo_version < 13 %} {%- include "version-specific/mqt-compat/.pre-commit-config.yaml.jinja" %}