-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcopier.yml
More file actions
63 lines (53 loc) · 1.66 KB
/
copier.yml
File metadata and controls
63 lines (53 loc) · 1.66 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
61
62
63
# ====== jinja ======
# Configure template to use standard jinja2 syntax
# From: https://github.com/Tecnativa/doodba-copier-template/blob/stable/copier.yml#L1-L10
_min_copier_version: "9"
_templates_suffix: .jinja
_envops:
block_end_string: '%}'
block_start_string: '{%'
comment_end_string: '#}'
comment_start_string: '{#'
keep_trailing_newline: true
variable_end_string: '}}'
variable_start_string: '{{'
_subdirectory: "template"
_preserve_symlinks: true
# questions
project_name:
type: str
help: "Project name e.g., `datalab-app-plugin-electrochemistry`"
repository_name:
type: str
help: "The name of the repository (should be in 'kebab-case')"
default: "{{ project_name }}"
package_name:
type: str
help: "Your Python package name (should be in 'snake_case'), e.g., `datalab_app_plugin_electrochemistry`"
default: "{{ project_name|replace('-', '_')|lower }}"
short_description:
type: str
help: "Short description of your package (one-liner)"
default: "{{ project_name }}."
validator: "{% if short_description|length > 82 %}Short description can have max 82 characters.{% endif %}"
repository_namespace:
type: str
help: "The namespace of the repository (e.g., your GitHub username or organisation)"
author_fullname:
type: str
help: "Your full name"
author_email:
type: str
help: "Your email"
copyright_holder:
type: str
help: "The name of the person/entity holding the copyright"
default: "{{ author_fullname }}"
copyright_holder_email:
type: str
help: "The email of the person/entity holding the copyright"
default: "{{ author_email }}"
copyright_date:
type: str
help: "The copyright date"
default: '{{ now().year }}'