From 2ca529eceeab6cc5ad34d6e9fb3fef9916e3d351 Mon Sep 17 00:00:00 2001 From: bosd Date: Tue, 9 Jan 2024 21:27:20 +0100 Subject: [PATCH 1/2] server-ux: copier repo update --- .copier-answers.yml | 2 +- .pre-commit-config.yaml | 4 ++-- .ruff.toml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index f693e73db5..60c17bca2a 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.19 +_commit: v1.20 _src_path: gh:oca/oca-addons-repo-template additional_ruff_rules: [] ci: GitHub diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d593b48042..e99b8dbc3e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: hooks: - id: whool-init - repo: https://github.com/oca/maintainer-tools - rev: f71041f22b8cd68cf7c77b73a14ca8d8cd190a60 + rev: 9a170331575a265c092ee6b24b845ec508e8ef75 hooks: # update the NOT INSTALLABLE ADDONS section above - id: oca-update-pre-commit-excluded-addons @@ -110,7 +110,7 @@ repos: args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - repo: https://github.com/OCA/pylint-odoo - rev: v8.0.19 + rev: v9.0.4 hooks: - id: pylint_odoo name: pylint with optional checks diff --git a/.ruff.toml b/.ruff.toml index 634db8e79b..0240c75f6a 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -6,6 +6,7 @@ fix = true extend-select = [ "B", "C90", + "E501", # line too long (default 88) "I", # isort "UP", # pyupgrade ] From fca74bfb239513547a8dfbd38ae7f30d204d6dcc Mon Sep 17 00:00:00 2001 From: bosd Date: Wed, 10 Jan 2024 12:58:47 +0100 Subject: [PATCH 2/2] [IMP] base_tier_validation: pre-commit stuff --- base_tier_validation/models/tier_definition.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base_tier_validation/models/tier_definition.py b/base_tier_validation/models/tier_definition.py index 7ef4404058..df9c930d68 100644 --- a/base_tier_validation/models/tier_definition.py +++ b/base_tier_validation/models/tier_definition.py @@ -74,7 +74,8 @@ def _get_tier_validation_model_names(self): help="Approval order by the specified sequence number", ) approve_sequence_bypass = fields.Boolean( - help="Bypassed (auto validated), if previous tier was validated by same reviewer", + help="Bypassed (auto validated), if previous tier was validated " + "by same reviewer", ) @api.onchange("review_type")