File tree Expand file tree Collapse file tree 3 files changed +22
-6
lines changed
Expand file tree Collapse file tree 3 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 11_templates_suffix : .jinja
22_envops :
33 autoescape : false
4+
45_jinja_extensions :
56 - copier_templates_extensions.TemplateExtensionLoader
67 - extensions.py:GitDefaultsExtension
78 - extensions.py:PythonVersionExtension
9+ - extensions.py:CurrentYearExtension
10+
811_subdirectory : " template"
912
1013_templates :
1114 - path : LICENSE.jinja
1215 when : " {{ license != 'None' }}"
16+ - path : .github/workflows/tests.yml.jinja
17+ when : " {{ 'tests' in github_actions }}"
18+ - path : .github/workflows/lint.yml.jinja
19+ when : " {{ 'lint' in github_actions }}"
20+ - path : .github/workflows/publish.yml.jinja
21+ when : " {{ 'publish' in github_actions }}"
22+
1323package_name :
1424 type : str
1525 help : Python package name (must be a valid identifier)
@@ -119,15 +129,19 @@ copyright_license:
119129 Open Software License 3.0 : OSL-3.0
120130 PostgreSQL License : PostgreSQL
121131
132+ github_actions :
133+ type : str
134+ help : Which GitHub Actions to include? (multiple selection allowed)
135+ multiselect : true
136+ choices :
137+ Tests : tests
138+ Lint : lint
139+ Publish to PyPI : publish
140+ default : [tests, lint]
141+
122142readme_badges :
123143 type : bool
124144 help : Add badges to the README?
125145 default : true
126-
127- publish_gh_action :
128- type : bool
129- help : Add a GitHub action for publishing to PyPi?
130- default : true
131-
132146_tasks :
133147 - ' {% if copyright_license == '' None'' %}python -c "import os; os.remove('' LICENSE'' ) if os.path.exists('' LICENSE'' ) else None"{% endif %}'
File renamed without changes.
Original file line number Diff line number Diff line change 22
33{% - if readme_badges %}
44
5+ {% - if 'tests' in github_actions %}
56[]({{ repository_url }}/actions/workflows/tests.yml)
7+ {% - endif %}
68[](https://badge.fury.io/py/{{ repo_name }})
79
810[](https://pepy.tech/project/{{ repo_name }})
You can’t perform that action at this time.
0 commit comments