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" %}