-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathessential.yml
More file actions
37 lines (37 loc) · 1.18 KB
/
essential.yml
File metadata and controls
37 lines (37 loc) · 1.18 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
---
# Essential questions
package_name:
type: str
placeholder: my_python_package
help: Enter the name of the Python package.
validator: >-
{% if not (package_name | regex_search('^[A-Za-z][A-Za-z0-9\_]+$')) %}
Package name must start with a letter, followed one or more letters, digits or underscores all lowercase
{% endif %}
version:
type: str
default: 0.1.0
help: Enter the version of the Python package
validator: >-
{% if not (version | regex_search('^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$')) %}
Package version should use Semantic Versioning 2.0.0 (MAJOR.MINOR.PATCH)
{% endif %}
full_name:
type: str
placeholder: Jane Smith
help: Enter your full name
validator: >-
{% if not full_name %}
Name cannot be empty
{% endif %}
license:
type: str
choices:
- "Apache-2.0"
- "MIT license"
- "BSD license"
- "ISC license"
- "GNU General Public License v3 or later"
- "GNU Lesser General Public License v3 or later"
- "Not open source"
default: "Apache-2.0"