cron better exception management. show supplier commercial name in product card template. linters config

This commit is contained in:
GitHub Copilot 2026-06-02 10:43:54 +02:00
parent a812b4385d
commit 87dcb4e350
17 changed files with 104 additions and 100 deletions

View file

@ -110,22 +110,11 @@ repos:
- id: flake8
name: flake8
additional_dependencies: ["flake8-bugbear==23.12.2"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.19.1
hooks:
- id: mypy
# do not run on test files or __init__ files (mypy does not support
# namespace packages)
exclude: (/tests/|/__init__\.py$|^scripts/)
# Exclude migrations explicitly to avoid duplicate-module errors
args: ["--exclude", "(?i).*/migrations/.*"]
additional_dependencies:
- "lxml"
- "odoo-stubs"
- "types-python-dateutil"
- "types-pytz"
- "types-requests"
- "types-setuptools"
# NOTE: mypy is intentionally not configured here. It is not part of the
# OCA pre-commit standard and breaks on Odoo's migration folder layout
# (e.g. ".../migrations/18.0.2.1.0/post-migrate.py" -> not a valid package
# name), because mypy's exclude does not apply to files passed explicitly
# by pre-commit.
- repo: https://github.com/PyCQA/pylint
rev: v4.0.4
hooks: