update pre-commit config

This commit is contained in:
Marc Durepos 2025-08-21 14:27:22 -04:00
parent 03ca1649c9
commit 0c156f089b

View file

@ -37,12 +37,12 @@ repos:
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.0.25
rev: v0.1.6
hooks:
- id: oca-checks-odoo-module
- id: oca-checks-po
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
rev: v4.0.0-alpha.8
hooks:
- id: prettier
name: prettier (with plugin-xml)
@ -53,7 +53,7 @@ repos:
- --plugin=@prettier/plugin-xml
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.24.0
rev: v9.33.0
hooks:
- id: eslint
verbose: true
@ -61,7 +61,7 @@ repos:
- --color
- --fix
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
# exclude autogenerated files
@ -83,7 +83,7 @@ repos:
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/OCA/pylint-odoo
rev: v9.1.2
rev: v9.3.14
hooks:
- id: pylint_odoo
name: pylint with optional checks