1
1
_envops :
2
- block_end_string : ' %]'
3
- block_start_string : ' [%'
2
+ block_end_string : " %]"
3
+ block_start_string : " [%"
4
+ lstrip_blocks : true
5
+ trim_blocks : true
4
6
_subdirectory : template
5
7
_message_before_copy : |
6
8
Thanks for generating a project using our template.
@@ -20,7 +22,7 @@ _message_after_update: |
20
22
you're done.
21
23
project_name :
22
24
default : My Project
23
- help : ' Enter the name of the project in CamelCase format:'
25
+ help : " Enter the name of the project in CamelCase format:"
24
26
type : str
25
27
project_description :
26
28
default : Project brief description.
@@ -32,7 +34,7 @@ development_status:
32
34
- Alpha
33
35
- Beta
34
36
- Production/Stable
35
- help : ' Choose the development status:'
37
+ help : " Choose the development status:"
36
38
type : str
37
39
copyright_license :
38
40
default : MIT License
@@ -53,65 +55,65 @@ copyright_year:
53
55
type : str
54
56
author_name :
55
57
default : Your Name
56
- help : ' Specify the name of the author:'
58
+ help : " Specify the name of the author:"
57
59
type : str
58
60
organization_name :
59
61
default : Your Organization Name
60
- help : ' Provide the name of the organization associated with the project:'
62
+ help : " Provide the name of the organization associated with the project:"
61
63
type : str
62
64
copyright_holder :
63
- default : ' {{ organization_name }}'
65
+ default : " {{ organization_name }}"
64
66
help : Name(s) or organization(s) holding the copyright.
65
67
type : str
66
68
author_email :
67
69
default : ' {{ author_name|lower|replace(" ", ".") }}@{{ organization_name|lower|replace(" ", "-") }}.com'
68
- help : ' Specify the email address of the author:'
70
+ help : " Specify the email address of the author:"
69
71
type : str
70
72
repo_platform :
71
73
default : github
72
74
choices :
73
75
GitHub : github
74
76
GitLab : gitlab
75
77
GitLab (self-managed) : gitlab-self-managed
76
- help : ' Choose the platform for the repository:'
78
+ help : " Choose the platform for the repository:"
77
79
type : str
78
80
repo_host :
79
81
default : |-
80
- [% if repo_platform == 'github' - %]
81
- github.com
82
- [%- elif repo_platform == 'gitlab' - %]
83
- gitlab.com
82
+ [% if repo_platform == 'github' %]
83
+ github.com
84
+ [%- elif repo_platform == 'gitlab' %]
85
+ gitlab.com
84
86
[%- endif %]
85
- help : ' Specify the host of the self-managed GitLab:'
87
+ help : " Specify the host of the self-managed GitLab:"
86
88
type : str
87
89
when : ' {{ repo_platform == "gitlab-self-managed" }}'
88
90
page_host :
89
91
default : |-
90
- [% if repo_platform == 'github' - %]
91
- github.io
92
- [%- elif repo_platform == 'gitlab' - %]
93
- gitlab.io
92
+ [% if repo_platform == 'github' %]
93
+ github.io
94
+ [%- elif repo_platform == 'gitlab' %]
95
+ gitlab.io
94
96
[%- endif %]
95
- help : ' Specify the host of the self-managed GitLab Pages:'
97
+ help : " Specify the host of the self-managed GitLab Pages:"
96
98
type : str
97
99
when : ' {{ repo_platform == "gitlab-self-managed" }}'
98
100
container_registry_host :
99
101
default : |-
100
- [% if repo_platform == 'github' - %]
101
- ghcr.io
102
- [%- elif repo_platform == 'gitlab' - %]
103
- registry.gitlab.com
102
+ [% if repo_platform == 'github' %]
103
+ ghcr.io
104
+ [%- elif repo_platform == 'gitlab' %]
105
+ registry.gitlab.com
104
106
[%- endif %]
105
- help : ' Specify the host of the self-managed GitLab Container Registry:'
107
+ help : " Specify the host of the self-managed GitLab Container Registry:"
106
108
type : str
107
109
when : ' {{ repo_platform == "gitlab-self-managed" }}'
108
110
repo_namespace :
109
111
default : ' {{ organization_name|lower|replace(" ", "-") }}'
110
- help : ' Indicate the GitHub Repository Owner or GitLab Namespace. This is typically the account name of the author or the organization:'
112
+ help : " Indicate the GitHub Repository Owner or GitLab Namespace. This is typically the account name of the author or the organization:"
111
113
type : str
112
114
repo_name :
113
115
default : ' {{ project_name|lower|replace(" ", "-") }}'
114
- help : ' Provide a name for the repository:'
116
+ help : " Provide a name for the repository:"
115
117
type : str
116
118
package_name :
117
119
default : ' {{ repo_name|regex_replace("-python$", "") }}'
@@ -123,7 +125,7 @@ module_name:
123
125
type : str
124
126
coverage_threshold :
125
127
default : 100
126
- help : ' Set the threshold for test coverage, ranging from 0 to 100:'
128
+ help : " Set the threshold for test coverage, ranging from 0 to 100:"
127
129
type : int
128
130
validator : " [% if not 0 <= coverage_threshold <= 100 %]Test Coverage threshold should be between 0 and 100[% endif %]"
129
131
platforms :
@@ -136,59 +138,59 @@ platforms:
136
138
multiselect : true
137
139
type : str
138
140
min_py :
139
- default : ' 3.12'
141
+ default : " 3.12"
140
142
choices :
141
- - ' 3.9'
142
- - ' 3.10'
143
- - ' 3.11'
144
- - ' 3.12'
145
- - ' 3.13'
146
- help : ' Choose the minimal Python version the project should support:'
143
+ - " 3.9"
144
+ - " 3.10"
145
+ - " 3.11"
146
+ - " 3.12"
147
+ - " 3.13"
148
+ help : " Choose the minimal Python version the project should support:"
147
149
type : str
148
150
max_py :
149
- default : ' 3.12'
151
+ default : " 3.12"
150
152
choices :
151
- ' 3.9 ' :
153
+ " 3.9 " :
152
154
validator : ' [% from pathjoin("includes", "version_compare.jinja") import version_higher_than_validator %]{{ version_higher_than_validator("3.9", min_py) }}'
153
- value : ' 3.9'
154
- ' 3.10 ' :
155
+ value : " 3.9"
156
+ " 3.10 " :
155
157
validator : ' [% from pathjoin("includes", "version_compare.jinja") import version_higher_than_validator %]{{ version_higher_than_validator("3.10", min_py) }}'
156
- value : ' 3.10'
157
- ' 3.11 ' :
158
+ value : " 3.10"
159
+ " 3.11 " :
158
160
validator : ' [% from pathjoin("includes", "version_compare.jinja") import version_higher_than_validator %]{{ version_higher_than_validator("3.11", min_py) }}'
159
- value : ' 3.11'
160
- ' 3.12 ' :
161
+ value : " 3.11"
162
+ " 3.12 " :
161
163
validator : ' [% from pathjoin("includes", "version_compare.jinja") import version_higher_than_validator %]{{ version_higher_than_validator("3.12", min_py) }}'
162
- value : ' 3.12'
163
- ' 3.13 ' :
164
- value : ' 3.13'
165
- help : ' Choose the maximal Python version the project should support:'
164
+ value : " 3.12"
165
+ " 3.13 " :
166
+ value : " 3.13"
167
+ help : " Choose the maximal Python version the project should support:"
166
168
type : str
167
169
default_py :
168
- default : ' {{ max_py }}'
170
+ default : " {{ max_py }}"
169
171
choices :
170
- ' 3.9 ' :
172
+ " 3.9 " :
171
173
validator : ' [% from pathjoin("includes", "version_compare.jinja") import version_between_validator %]{{ version_between_validator("3.9", min_py, max_py) }}'
172
- value : ' 3.9'
173
- ' 3.10 ' :
174
+ value : " 3.9"
175
+ " 3.10 " :
174
176
validator : ' [% from pathjoin("includes", "version_compare.jinja") import version_between_validator %]{{ version_between_validator("3.10", min_py, max_py) }}'
175
- value : ' 3.10'
176
- ' 3.11 ' :
177
+ value : " 3.10"
178
+ " 3.11 " :
177
179
validator : ' [% from pathjoin("includes", "version_compare.jinja") import version_between_validator %]{{ version_between_validator("3.11", min_py, max_py) }}'
178
- value : ' 3.11'
179
- ' 3.12 ' :
180
+ value : " 3.11"
181
+ " 3.12 " :
180
182
validator : ' [% from pathjoin("includes", "version_compare.jinja") import version_between_validator %]{{ version_between_validator("3.12", min_py, max_py) }}'
181
- value : ' 3.12'
182
- ' 3.13 ' :
183
+ value : " 3.12"
184
+ " 3.13 " :
183
185
validator : ' [% from pathjoin("includes", "version_compare.jinja") import version_between_validator %]{{ version_between_validator("3.13", min_py, max_py) }}'
184
- value : ' 3.13'
185
- help : ' Choose the default Python version for development, documentation generation, and package build:'
186
+ value : " 3.13"
187
+ help : " Choose the default Python version for development, documentation generation, and package build:"
186
188
type : str
187
189
readme_content :
188
190
default : |-
189
- [% if project_name == 'Serious Scaffold Python' - %]
190
- [% from pathjoin("includes", "sample.jinja") import readme_content with context %]{{ readme_content() }}
191
- [%- else - %]
191
+ [% if project_name == 'Serious Scaffold Python' %]
192
+ [% from pathjoin("includes", "sample.jinja") import readme_content with context %]{{ readme_content() }}
193
+ [%- else %]
192
194
## A multiline README content here
193
195
[%- endif %]
194
196
help : " Provide a multiline content to be used in the README and documentation's index page:"
0 commit comments