[IMP] addons-repo-template v9.2.1

This commit is contained in:
Jérémy Didderen committed 2026-11-08 23:51:11 +01:00
1 parent 2b7317d8ad
commit 8407d8dba6
19 files changed
+157 -255

No files matched your search

+4 -12
View File
@@ -6,12 +6,14 @@ exclude: |
^setup/|/static/description/index\.html$|
# We don't want to mess with tool-generated files
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|^eslint.config.cjs|^prettier.config.cjs|
# Maybe reactivate this when all README files include prettier ignore tags?
# README.md holds the generated addons table
^README\.md$|
# Library files can have extraneous formatting (even minimized)
/static/(src/)?lib/|
# Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$|
# Sphinx translation catalogs are not Odoo translations
^docs/.*\.pot?$|
# Don't bother non-technical authors with formatting issues in docs
readme/.*\.(rst|md)$|
# Ignore build and dist directories in addons
@@ -121,10 +123,6 @@ 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.16.9
hooks:
@@ -137,13 +135,7 @@ repos:
rev: v10.0.11
hooks:
- id: pylint_odoo
name: pylint (optional, core only)
args:
- --rcfile=.pylintrc
- --exit-zero
verbose: true
- id: pylint_odoo
name: pylint-odoo (mandatory, blocking)
name: pylint-odoo
args:
- --disable=missing-readme
- --rcfile=.pylintrc-mandatory