Skip to content

Commit 3665ff0

Browse files
authored
Merge pull request #32 from TimMonko/change-default-precommit
Change default of `install_precommit` to Yes / True
2 parents 5aac877 + 49150be commit 3665ff0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PROMPTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ your package's root directory.
145145

146146
## install_precommit
147147

148-
The default for this prompt is `"n"`.
148+
The default for this prompt is `"y"`.
149149

150150
If you choose "y" for this prompt, then [pre-commit](ttps://pre-commit.com/) will be installed.
151151
Among other things, it includes checks for code linting and best practices in napari plugins.

copier.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ use_git_tags_for_versioning:
7070
help: Use git tags for automatic versioning?
7171
type: bool
7272
install_precommit:
73-
default: false
73+
default: true
7474
help: Install pre-commit? (Code formatting checks)
7575
type: bool
7676
install_dependabot:

0 commit comments

Comments
 (0)