Skip to content

Commit 7f8fa8a

Browse files
committed
Use question form
1 parent 63077d7 commit 7f8fa8a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

copier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ AddPreCommit:
9393
when: "{{ template_profile == 'ask' }}"
9494
type: bool
9595
default: "{{ template_profile != 'minimum' }}"
96-
help: Add Pre-commit hooks to check code style and quality
96+
help: Add pre-commit hook to check code style and format on every commit?
9797

9898
# internal fields
9999
_subdirectory: template

template/README.dev.md.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ ruff . --fix
7777

7878
To fix readability of your code style you can use [yapf](https://github.com/google/yapf).
7979

80-
{% if AddPreCommit -%}
80+
{%- if AddPreCommit -%}
8181
You can enable automatic linting with `ruff` on commit by enabling the git hook from `.githooks/pre-commit`, like so:
8282

8383
```shell
8484
git config --local core.hooksPath .githooks
8585
```
86-
{%- endif %}
86+
{%- endif -%}
8787

8888
## Generating the API docs
8989

0 commit comments

Comments
 (0)