Skip to content

Commit 9ff372e

Browse files
fix: change reuse lint pre-commit hook to only look at committed files (#658)
fixes #645 previously looked at all files and didn't consider the case of dirty files that won't be committed or gitignored which is a common case
1 parent 3710a00 commit 9ff372e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ repos:
118118
- repo: https://github.com/fsfe/reuse-tool
119119
rev: v5.0.2
120120
hooks:
121-
- id: reuse
121+
- id: reuse-lint-file
122122

123123
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
124124
rev: v9.22.0

0 commit comments

Comments
 (0)