Skip to content

Commit 782e94c

Browse files
committed
Add description
1 parent d0e0598 commit 782e94c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

copier.yml

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ entry:
2424
{% if entry == '' %}
2525
Please provide an entry
2626
{% endif %}
27+
description:
28+
type: str
29+
help: What is the description of the tool?
30+
default: This hook runs {{ tool }}.
2731

2832
_tasks:
2933
- sed -i "s/TOOL_VERSION/$(micromamba search -c conda-forge {{ tool }} --json | jq -r '.result.pkgs[0].version')/g" environment.yml

template/.pre-commit-hooks.yaml.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- id: {{ tool }}-conda
22
name: {{ tool }}-conda
3-
description: This hook runs {{ tool }}.
3+
description: {{ description }}
44
entry: {{ entry }}
55
language: conda

0 commit comments

Comments
 (0)