mirror of
https://github.com/brain-tec/account_ebics.git
synced 2026-11-06 10:00:39 +00:00
[18.0][IMP] copier update
This commit is contained in:
1 parent
f83e3d0038
commit
59cdb32eb9
11 files changed
+252
-116
No files matched your search
+35
-14
@@ -22,7 +22,7 @@ exclude: |
|
||||
(LICENSE.*|COPYING.*)
|
||||
default_language_version:
|
||||
python: python3
|
||||
node: "22.9.0"
|
||||
node: "22.23.3"
|
||||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
@@ -39,25 +39,38 @@ repos:
|
||||
language: fail
|
||||
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
|
||||
- repo: https://github.com/sbidoul/whool
|
||||
rev: v1.2
|
||||
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: b89f767503be6ab2b11e4f50a7557cb20066e667
|
||||
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.0.33
|
||||
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
|
||||
- --fix
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: prettier
|
||||
@@ -71,8 +84,8 @@ repos:
|
||||
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
|
||||
language: node
|
||||
additional_dependencies:
|
||||
- "prettier@3.3.3"
|
||||
- "@prettier/plugin-xml@3.4.1"
|
||||
- "prettier@3.9.9"
|
||||
- "@prettier/plugin-xml@3.4.2"
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: eslint
|
||||
@@ -85,10 +98,11 @@ repos:
|
||||
types: [javascript]
|
||||
language: node
|
||||
additional_dependencies:
|
||||
- "eslint@9.12.0"
|
||||
- "eslint-plugin-jsdoc@50.3.1"
|
||||
- "eslint@10.11.0"
|
||||
- "eslint-plugin-jsdoc@65.0.0"
|
||||
- "globals@17.12.0"
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.6.0
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
# exclude autogenerated files
|
||||
@@ -97,8 +111,6 @@ repos:
|
||||
# exclude autogenerated files
|
||||
exclude: /README\.rst$|\.pot?$
|
||||
- id: debug-statements
|
||||
- id: fix-encoding-pragma
|
||||
args: ["--remove"]
|
||||
- id: check-case-conflict
|
||||
- id: check-docstring-first
|
||||
- id: check-executables-have-shebangs
|
||||
@@ -109,21 +121,30 @@ repos:
|
||||
- id: check-xml
|
||||
- id: mixed-line-ending
|
||||
args: ["--fix=lf"]
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.21.2
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.6.8
|
||||
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: v9.1.3
|
||||
rev: v10.0.11
|
||||
hooks:
|
||||
- id: pylint_odoo
|
||||
name: pylint with optional checks
|
||||
name: pylint (optional, core only)
|
||||
args:
|
||||
- --rcfile=.pylintrc
|
||||
- --exit-zero
|
||||
verbose: true
|
||||
- id: pylint_odoo
|
||||
name: pylint-odoo (mandatory, blocking)
|
||||
args:
|
||||
- --disable=missing-readme
|
||||
- --rcfile=.pylintrc-mandatory
|
||||
verbose: true
|
||||
Reference in new issue
Block a user