-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcopier.yml
65 lines (53 loc) · 2.18 KB
/
copier.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
_min_copier_version: "9.2.0"
_subdirectory: "template"
_envops:
keep_trailing_newline: true
project_owner_github_username:
type: "str"
help: "The GitHub username or organization that will host this project."
validator: "{% if not project_owner_github_username %}Invalid input{% endif %}"
github_repo_name:
type: "str"
help: "The name of the GitHub repository that will host this project."
validator: "{% if not github_repo_name %}Invalid input{% endif %}"
project_name:
type: "str"
help: "The name of this project, if different from the repository name."
default: "{{ github_repo_name }}"
validator: "{% if not project_name %}Invalid input{% endif %}"
project_owner_name:
type: "str"
help: "The name (or names) for the MIT license, if different from the host user."
default: "{{ project_owner_github_username }}"
validator: "{% if not project_owner_name %}Invalid input{% endif %}"
year_of_project_creation:
type: "int"
help: "The year of project creation for the MIT license."
default: 2024
validator: "{% if not year_of_project_creation %}Invalid input{% endif %}"
project_description:
type: "str"
help: "A brief description for your project (please omit trailing punctuation). Required, but can easily be changed manually later."
validator: "{% if not project_description %}Invalid input{% endif %}"
project_email:
type: "str"
help: "If given, associate this email address with this project in `pyproject.toml`."
project_version:
type: "str"
help: "The package version for this project. Start with 0.0.0. Project may stay at 0.0.0 indefinitely if it is not meant to be versioned in this way."
default: "0.0.0"
validator: "{% if not '.' in project_version %}Invalid input{% endif %}"
python_version:
type: "str"
help: "The Python version for this project and the minimum supported version to be specified in `pyproject.toml`."
default: "3.10"
validator: "{% if not '.' in python_version %}Invalid input{% endif %}"
actions_runner:
type: "str"
help: "The GitHub Actions runner to use."
choices:
- "ubuntu-22.04"
- "windows-2022"
- "macos-13"
default: "ubuntu-22.04"
validator: "{% if not actions_runner %}Invalid input{% endif %}"