[19.0][IMP] copier update

This commit is contained in:
Luc De Meyer committed 2026-10-26 10:06:36 +01:00
1 parent bdb6f1e1aa
commit fccfd80f07
13 files changed
+126 -37

No files matched your search

+22 -9
View File
@@ -22,7 +22,7 @@ exclude: |
(LICENSE.*|COPYING.*)
default_language_version:
python: python3
node: "22.9.0"
node: "22.23.3"
repos:
- repo: local
hooks:
@@ -42,20 +42,31 @@ repos:
rev: v1.3
hooks:
- id: whool-init
additional_dependencies:
# force a fresh pre-commit env: up-to-date core addons lists and
# Odoo 20 support (since v1.16.0)
- manifestoo-core>=1.16.1
- repo: https://github.com/oca/maintainer-tools
rev: 71aa4caec15e8c1456b4da19e9f39aa0aa7377a9
rev: b8311a95009805a6e5593f0390f52c0fa350117f
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://www.noviat.com/"]
- id: oca-gen-external-dependencies
additional_dependencies:
# an outdated manifestoo-core ignores recent core addons, and wipes
# requirements.txt on an Odoo series it does not know
- manifestoo-core>=1.16.1
- id: oca-gen-addons-table
stages: [manual]
- repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.2.20
rev: v0.2.27
hooks:
- id: oca-checks-odoo-module
- id: oca-checks-odoo-module-fixit
args:
- --disable=use-header-comments
- id: oca-checks-po
args:
- --disable=po-pretty-format
@@ -73,7 +84,7 @@ repos:
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
language: node
additional_dependencies:
- "prettier@3.8.1"
- "prettier@3.9.9"
- "@prettier/plugin-xml@3.4.2"
- repo: local
hooks:
@@ -87,9 +98,9 @@ repos:
types: [javascript]
language: node
additional_dependencies:
- "eslint@9.39.3"
- "eslint-plugin-jsdoc@62.7.1"
- "globals@16.0.0"
- "eslint@10.11.0"
- "eslint-plugin-jsdoc@65.0.0"
- "globals@17.12.0"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
@@ -115,13 +126,15 @@ repos:
hooks:
- id: pyupgrade
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.2
rev: v0.16.9
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
# markdown is prettier's job (ruff >= 0.16 also formats its code blocks)
types_or: [python, pyi, jupyter]
- repo: https://github.com/OCA/pylint-odoo
rev: v10.0.1
rev: v10.0.11
hooks:
- id: pylint_odoo
name: pylint (optional, core only)