From 4932764926c650bad64bff56e15a7d68dbbf89a9 Mon Sep 17 00:00:00 2001 From: Jeremi Joslin Date: Thu, 15 Feb 2024 15:59:14 +0700 Subject: [PATCH] Add a hook for oca-gen-metapackage to use from pre-commit --- .pre-commit-hooks.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 1a89f9ec..a35c271f 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -19,6 +19,13 @@ language: python pass_filenames: false +- id: oca-gen-metapackage + name: Generate setup/_metapackage with dependencies on all installable addons in repo + always_run: true + entry: oca-gen-metapackage + language: python + pass_filenames: false + - id: oca-update-pre-commit-excluded-addons name: Update pre-commit excluded addons entry: oca-update-pre-commit-excluded-addons