Skip to content

Commit 00db7cf

Browse files
authored
style: 🎨 group 'config' copier 'questions' to bottom of file (#175)
# Description Purely visual change. Moved the 'config' type copier 'questions' (for `when: false`) to the bottom of the file and all together. This PR needs a quick review. ## Checklist - [x] Ran `just run-all`
1 parent 2985876 commit 00db7cf

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

copier.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ is_seedcase_project:
5555
help: "Is this package part of the Seedcase Project?"
5656
default: true
5757

58-
github_repo:
59-
type: str
60-
default: "{{ _copier_conf.dst_path | realpath | basename }}"
61-
when: false
62-
6358
github_user:
6459
type: str
6560
help: "What is the name of the GitHub user or organisation where the repository will be or is stored?"
@@ -97,6 +92,13 @@ github_board_number:
9792
The board number must be an integer.
9893
{% endif %}
9994
95+
# Configurations not asked
96+
97+
github_repo:
98+
type: str
99+
default: "{{ _copier_conf.dst_path | realpath | basename }}"
100+
when: false
101+
100102
github_repo_snake_case:
101103
type: str
102104
default: "{{github_repo | replace('-', '_') | replace('.', '_')}}"

0 commit comments

Comments
 (0)