generated from litestar-org/project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
copier.yaml
20 lines (18 loc) · 727 Bytes
/
copier.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
project_name:
type: str # Any value will be treated raw as a string
help: An awesome project needs an awesome name. Tell me yours.
validator: >-
{% if not (project_name | regex_search('^[a-z][a-z0-9\-]+$')) %}
project_name must start with a letter, followed one or more letters, digits or dashes all lowercase.
{% endif %}
module_name:
type: str
help: The import name of the python module.
default: "{{ project_name|regex_replace('[^a-zA-A0-9]', '_') }}"
validator: >-
{% if not (module_name | regex_search('^[a-z][a-z0-9\_]+$')) %}
module_name must start with a letter, followed one or more letters, digits or underscores all lowercase.
{% endif %}
_exclude:
- "README.rst"
- ".git"