-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcopier.yml
More file actions
60 lines (53 loc) · 1.42 KB
/
copier.yml
File metadata and controls
60 lines (53 loc) · 1.42 KB
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
---
project_name:
type: str
help: Give your project an amazing name
module_name:
type: str
help: Give the module a name
default: "{{ project_name }}"
description:
type: str
help: Make a short description for the project (optional).
default: ""
user_name:
type: str
help: Set your full name
user_email:
type: str
help: Set your email
python_version:
type: str
help: What python version do you want to use? (optional)
default: 3.13
validators:
- >-
{{
(
value.isdigit() # X format
or (
value.replace('.', '').isdigit() and
value.count('.') == 1 and
(value.split('.') | length) == 2 and
value.split('.')[0].isdigit() and
value.split('.')[1].isdigit()
) # X.Y format
or (
value.replace('.', '').isdigit() and
value.count('.') == 2 and
(value.split('.') | length) == 3 and
value.split('.')[0].isdigit() and
value.split('.')[1].isdigit() and
value.split('.')[2].isdigit()
) # X.Y.Z format
)
or 'Version must be in X, X.Y, or X.Y.Z format (e.g., 3, 3.13, or 3.13.4) with numbers only, no <, >, =, or other characters.'
}}
include_dockerfile:
type: bool
help: "Include a Dockerfile in the project?"
default: yes
_exclude:
- .venv/
- .git/
- .github/workflows/render-template.yml