From 9f0174fd96b5900be3053afc0137fe65dee02cdd Mon Sep 17 00:00:00 2001 From: Matheus Felipe <50463866+matheusfelipeog@users.noreply.github.com> Date: Mon, 17 Jan 2022 04:27:58 -0300 Subject: [PATCH] Fix error message of max description length --- scripts/validate/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/validate/format.py b/scripts/validate/format.py index b22696d8..2d1f90cb 100644 --- a/scripts/validate/format.py +++ b/scripts/validate/format.py @@ -120,7 +120,7 @@ def check_description(line_num: int, description: str) -> List[str]: desc_length = len(description) if desc_length > max_description_length: - err_msg = error_message(line_num, f'description should not exceed 100 characters (currently {desc_length})') + err_msg = error_message(line_num, f'description should not exceed {max_description_length} characters (currently {desc_length})') err_msgs.append(err_msg) return err_msgs