File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -77,13 +77,13 @@ ruff . --fix
7777
7878To fix readability of your code style you can use [yapf](https://github.com/google/yapf).
7979
80- {% if AddPreCommit -%}
80+ {% - if AddPreCommit -%}
8181You can enable automatic linting with `ruff` on commit by enabling the git hook from `.githooks/pre-commit`, like so:
8282
8383```shell
8484git config --local core.hooksPath .githooks
8585```
86- {% - endif %}
86+ {% - endif - %}
8787
8888## Generating the API docs
8989
You can’t perform that action at this time.
0 commit comments