From 3496c588382b179a63dfb63b7a36f502cd3bf39b Mon Sep 17 00:00:00 2001 From: Thore Husfeldt Date: Fri, 9 Feb 2024 09:47:27 +0100 Subject: [PATCH] UX: Shorter action message for invalidation --- bin/problem.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/problem.py b/bin/problem.py index e9064a93..39fedba0 100644 --- a/bin/problem.py +++ b/bin/problem.py @@ -662,10 +662,9 @@ def validate_data(problem, mode: validate.Mode, constraints: dict | bool | None if len(testcases) == 0: return True - # TODO Why? action = ( - "(In)validating invalid testcases" + "Invalidation" if mode == validate.Mode.INVALID else ( f"{mode} validation" if not check_constraints else f"Collecting {mode} constraints"