-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcopier.yml
More file actions
42 lines (36 loc) · 1.14 KB
/
Copy pathcopier.yml
File metadata and controls
42 lines (36 loc) · 1.14 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
# questions
project_name:
type: str
help: What is the name for your project?
validator: >-
{% if not (project_name | regex_search('^[a-z_][a-z0-9_]*$')) %}
{{project_name}} is not a valid ruff-compatible python package name
{% endif %}
repo_name:
type: str
help: |
What is the name for your new repo?
Generally, use the package name with underscores replaced by dashes.
(default = your project name with '-' rather than '_')
default: "{{ project_name | replace('_', '-') }}"
validator: >-
{% if not (repo_name | regex_search('^[a-zA-Z0-9](?:[a-zA-Z0-9_.-]*[a-zA-Z0-9])?$')) %}
{{ repo_name }} is not a valid repo name
{% endif %}
description:
type: str
help: Please provide a description of your project
placeholder: One line description of your module
github_org:
type: str
help: What is your github organisation? (default = DiamondLightSource)
default: DiamondLightSource
author_name:
type: str
help: What is your full name?
placeholder: FirstName LastName
author_email:
type: str
help: What is your email address?
placeholder: your.name@diamond.ac.uk
_subdirectory: "src/copier_template"