diff --git a/.copier-answers.yml b/.copier-answers.yml index fc8fb85..99cab33 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.44 +_commit: v1.45 _src_path: git+https://github.com/OCA/oca-addons-repo-template additional_ruff_rules: [] convert_readme_fragments_to_markdown: true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 37e40c8..e074d3a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,7 +48,7 @@ repos: hooks: - id: whool-init - repo: https://github.com/oca/maintainer-tools - rev: 31bdbd8e4cb94be6534f0e82b1cafb84a455f671 + rev: b8311a95009805a6e5593f0390f52c0fa350117f hooks: # update the NOT INSTALLABLE ADDONS section above - id: oca-update-pre-commit-excluded-addons @@ -68,6 +68,8 @@ repos: rev: v0.1.7 hooks: - id: oca-checks-odoo-module + args: + - --fix - id: oca-checks-po args: - --disable=po-pretty-format @@ -128,7 +130,7 @@ repos: args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - repo: https://github.com/OCA/pylint-odoo - rev: v10.0.6 + rev: v10.0.8 hooks: - id: pylint_odoo name: pylint with optional checks diff --git a/.pylintrc b/.pylintrc index 87713c8..6e7ca6b 100644 --- a/.pylintrc +++ b/.pylintrc @@ -75,6 +75,7 @@ enable=anomalous-backslash-in-string, category-allowed, deprecated-name-get, deprecated-odoo-model-method, + deprecated-self-cr, inheritable-method-lambda, inheritable-method-string, invalid-email, diff --git a/.pylintrc-mandatory b/.pylintrc-mandatory index 8018b57..18694fe 100644 --- a/.pylintrc-mandatory +++ b/.pylintrc-mandatory @@ -67,6 +67,7 @@ enable=anomalous-backslash-in-string, category-allowed, deprecated-name-get, deprecated-odoo-model-method, + deprecated-self-cr, inheritable-method-lambda, inheritable-method-string, invalid-email,