From 5f98af87f1bff4c2e49cd4d1151cd4ddc3aa5b77 Mon Sep 17 00:00:00 2001 From: Yuchen Xiao Date: Mon, 8 Jun 2026 17:03:01 -0400 Subject: [PATCH 1/4] fix: remove jinja2 templating in the file names. --- cookiecutter.json | 3 ++- {{ cookiecutter.workspace_name }}/cookiecutter.json | 3 ++- ...')|lower }}_code.py => {{ cookiecutter.__script_name }}.py} | 0 3 files changed, 4 insertions(+), 2 deletions(-) rename {{ cookiecutter.workspace_name }}/{{ cookiecutter.subproject_name }}/{{{ cookiecutter.subproject_name|replace('-','_')|lower }}_code.py => {{ cookiecutter.__script_name }}.py} (100%) diff --git a/cookiecutter.json b/cookiecutter.json index 3b61a7e..5604e16 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -1,4 +1,5 @@ { "workspace_name": "workspace-folder", - "subproject_name": "my-project" + "subproject_name": "my-project", + "__script_name" : "{{ cookiecutter.subproject_name|replace('-','_')|lower }}_code.py" } diff --git a/{{ cookiecutter.workspace_name }}/cookiecutter.json b/{{ cookiecutter.workspace_name }}/cookiecutter.json index cf26d7e..6b5ec35 100644 --- a/{{ cookiecutter.workspace_name }}/cookiecutter.json +++ b/{{ cookiecutter.workspace_name }}/cookiecutter.json @@ -1,4 +1,5 @@ { "workspace_name": "{{ cookiecutter.workspace_name }}", - "subproject_name": "{{ cookiecutter.subproject_name }}" + "subproject_name": "{{ cookiecutter.subproject_name }}", + "__script_name" : "{{ cookiecutter.__script_name }}" } diff --git a/{{ cookiecutter.workspace_name }}/{{ cookiecutter.subproject_name }}/{{ cookiecutter.subproject_name|replace('-','_')|lower }}_code.py b/{{ cookiecutter.workspace_name }}/{{ cookiecutter.subproject_name }}/{{ cookiecutter.__script_name }}.py similarity index 100% rename from {{ cookiecutter.workspace_name }}/{{ cookiecutter.subproject_name }}/{{ cookiecutter.subproject_name|replace('-','_')|lower }}_code.py rename to {{ cookiecutter.workspace_name }}/{{ cookiecutter.subproject_name }}/{{ cookiecutter.__script_name }}.py From 02bf9d404485458d88c4cd4e6494bf3081922ecd Mon Sep 17 00:00:00 2001 From: Yuchen Xiao Date: Mon, 8 Jun 2026 17:04:47 -0400 Subject: [PATCH 2/4] chore: add news --- news/windows-path.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 news/windows-path.rst diff --git a/news/windows-path.rst b/news/windows-path.rst new file mode 100644 index 0000000..b4533e5 --- /dev/null +++ b/news/windows-path.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* Remove jinja2 templating in the file names to make them compatible in the windows fileystem. + +**Security:** + +* From 9036e77663e4d00f9c58fafb59974fd9d4ca4ea7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Jun 2026 21:07:30 +0000 Subject: [PATCH 3/4] [pre-commit.ci] auto fixes from pre-commit hooks --- cookiecutter.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookiecutter.json b/cookiecutter.json index 5604e16..860875a 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -1,5 +1,5 @@ { "workspace_name": "workspace-folder", "subproject_name": "my-project", - "__script_name" : "{{ cookiecutter.subproject_name|replace('-','_')|lower }}_code.py" + "__script_name": "{{ cookiecutter.subproject_name|replace('-','_')|lower }}_code.py" } From 2442d351f06a6c92b04a571a31837b96ed864ed1 Mon Sep 17 00:00:00 2001 From: Yuchen Xiao Date: Mon, 8 Jun 2026 17:10:46 -0400 Subject: [PATCH 4/4] chore: fix typo --- news/windows-path.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/news/windows-path.rst b/news/windows-path.rst index b4533e5..abd4af9 100644 --- a/news/windows-path.rst +++ b/news/windows-path.rst @@ -16,7 +16,7 @@ **Fixed:** -* Remove jinja2 templating in the file names to make them compatible in the windows fileystem. +* Remove jinja2 templating in the file names to make them compatible in the windows filesystem. **Security:**