-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcopier.yml
More file actions
64 lines (54 loc) · 1.61 KB
/
copier.yml
File metadata and controls
64 lines (54 loc) · 1.61 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
64
# configuration
_subdirectory: template
_preserve_symlinks: True
_min_copier_version: "9.3.1"
# questions
project_slug:
type: str
help: What is your project slug (i.e. pypi package name)?
validator: >-
{% if '_' in project_slug or ' ' in project_slug or '.' in project_slug %}
The project slug should not contain underscores, spaces or dots.
{% endif %}
project_slug_snake_case:
type: str
default: "{{ project_slug.replace('-', '_') }}"
when: false
project_short_description:
type: str
help: Enter a short description.
github_user:
type: str
help: What is your GitHub username (used for CODEOWNERS)?
author_name:
type: str
help: What is your name (used for package author)?
author_email:
type: str
help: What is your email (used for package author)?
github_url:
type: str
help: What is the GitHub url of this project?
default: https://github.com/{{ github_user }}/{{ project_slug }}
validator: >-
{% if not github_url.startswith('https://github.com/') or github_url.endswith('.git') %}
The GitHub URL should start with `https://github.com/` and not end with `.git`, for example `https://github.com/LandoCalrissian/python-project`.
{% endif %}
minimal_python_version:
type: str
help: What is the minimal Python version you want to support?
choices:
- py310
- py311
- py312
- py313
- py314
default: py310
use_devcontainer:
type: bool
help: Should this project use a devcontainer for development?
default: false
add_autobump_workflow:
type: bool
help: Do you want to add a GitHub Workflow to automatically bump `pixi.lock`?
default: true