Skip to content

Commit fab3ea4

Browse files
committed
added human readable promts
1 parent 1ae2859 commit fab3ea4

File tree

2 files changed

+43
-8
lines changed

2 files changed

+43
-8
lines changed

.github/workflows/test-bake.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
pip install -r requirements-dev.txt
4747
- name: Run Testing
4848
run: |
49-
pytest -vvv
49+
pytest --cov -vvv
5050
- name: Run Linting
5151
run: |
5252
pylint hooks/

cookiecutter.json

+42-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"full_name": "Your Full Name",
3-
"email": "Your E-Mail Address",
4-
"git_username": "Your GitHub Username",
5-
"git_repo_name": "The Repository Name",
6-
"git_url": "The GIT URL",
2+
"full_name": "Firstname Lastname",
3+
"email": "[email protected]",
4+
"git_username": "some-username",
5+
"git_repo_name": "some-repo-name",
6+
"git_url": "https://github.com/some-username/some-repo-name",
77
"app_description": "A short description",
88
"app_version": "0.1.0",
99
"app_documents_location": ["readthedocs.io", "github-pages"],
@@ -13,9 +13,44 @@
1313
"use_cryptography": ["n", "y"],
1414
"include_webpages": ["n", "y"],
1515
"__template_repo": "https://github.com/btr1975/cookiecutter-python-fastapi-openapi",
16-
"__template_version": "1.0.5",
16+
"__template_version": "1.0.6",
17+
"_new_lines":"\n",
1718
"_copy_without_render": [
1819
"{{cookiecutter.__app_name}}/templates",
1920
".github"
20-
]
21+
],
22+
"__prompts__": {
23+
"full_name": "Your Full Name",
24+
"email": "Your E-Mail Address",
25+
"git_username": "Your GitHub Username",
26+
"git_repo_name": "The Repository Name",
27+
"git_url": "The full GIT URL",
28+
"app_description": "A short description",
29+
"app_version": "Library Version",
30+
"app_documents_location": {
31+
"__prompt__": "Where will the documentation be hosted",
32+
"readthedocs.io": "Read the Docs",
33+
"github-pages": "GitHub Pages"
34+
},
35+
"app_documents_theme": {
36+
"__prompt__": "Which theme will be used for the documentation",
37+
"sphinx_rtd_theme": "Read the Docs Theme",
38+
"alabaster": "Alabaster Theme"
39+
},
40+
"use_requests": {
41+
"__prompt__": "Will you use the requests library",
42+
"n": "No",
43+
"y": "Yes"
44+
},
45+
"use_cryptography": {
46+
"__prompt__": "Will you use the cryptography library",
47+
"n": "No",
48+
"y": "Yes"
49+
},
50+
"include_webpages": {
51+
"__prompt__": "Include webpages starter",
52+
"n": "No",
53+
"y": "Yes"
54+
}
55+
}
2156
}

0 commit comments

Comments
 (0)