From e8404f1c77123be47c95d199426813e2cabaafe7 Mon Sep 17 00:00:00 2001 From: yokomotod Date: Thu, 28 Dec 2023 16:58:05 +0900 Subject: [PATCH] fix: default script with name_safe (#527) --- rye/src/cli/init.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rye/src/cli/init.rs b/rye/src/cli/init.rs index ec5c1b23f9..d162d18e77 100644 --- a/rye/src/cli/init.rs +++ b/rye/src/cli/init.rs @@ -109,7 +109,7 @@ classifiers = ["Private :: Do Not Upload"] {%- endif %} [project.scripts] -hello = {{ name ~ ":hello"}} +hello = {{ name_safe ~ ":hello"}} [build-system] {%- if build_system == "hatchling" %}