From 1e95a73a4d4addfa56012f43d30117d1a059af20 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sat, 21 Nov 2026 14:15:06 +0100 Subject: [PATCH] refactor: refuse verify-packs combinations once --- scripts/generate_pack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate_pack.py b/scripts/generate_pack.py index af806883f..4bc18221a 100644 --- a/scripts/generate_pack.py +++ b/scripts/generate_pack.py @@ -137,8 +137,8 @@ def _argument_conflicts(args: argparse.Namespace) -> list[tuple[bool, str]]: def _validate_args(args: argparse.Namespace, parser: argparse.ArgumentParser) -> None: - """Validate argument combinations and mutual exclusion rules.""" - _refuse_for_verify_packs(args, parser) + """Validate argument combinations and mutual exclusion rules. The + --verify-packs refusals ran before the quick-exit modes.""" for refused, message in _argument_conflicts(args): if refused: parser.error(message)