From d6e6cac6e2ca703870b1016c5ad71c35be93479c Mon Sep 17 00:00:00 2001 From: William Lindskog <60471142+WilliamLindskog@users.noreply.github.com> Date: Wed, 30 Oct 2024 05:17:00 -0400 Subject: [PATCH] docs(framework) Change description for invalid project name (#4396) Co-authored-by: Charles Beauville Co-authored-by: William --- src/py/flwr/cli/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/py/flwr/cli/build.py b/src/py/flwr/cli/build.py index 4c9dca4ebcf1..e86f4bb762b3 100644 --- a/src/py/flwr/cli/build.py +++ b/src/py/flwr/cli/build.py @@ -81,8 +81,8 @@ def build( if not is_valid_project_name(app.name): typer.secho( f"❌ The project name {app.name} is invalid, " - "a valid project name must start with a letter or an underscore, " - "and can only contain letters, digits, and underscores.", + "a valid project name must start with a letter, " + "and can only contain letters, digits, and hyphens.", fg=typer.colors.RED, bold=True, )