-
-
Notifications
You must be signed in to change notification settings - Fork 302
Commit 38907bc
committed
ci(pre-commit): Remove version_files lookahead
Commitizen runs bump on itself to, among other things, manage the
version it uses of its own pre-commit hooks. When searching
.pre-commit-config.yaml for the version number of Commitizen, we search
for "Commitizen," which is in a comment to the right of the version
number. Remove the lookahead assertion for "Commitizen," and instead
simply consume it when matching now that version_files regexes don't
need to exclusively match to the left of the version number.1 parent c0f3951 commit 38907bc
1 file changed
+1
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | - | ||
7 | + | ||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
|
0 commit comments