Skip to content

Commit 5d8d33a

Browse files
authored
Merge pull request #269 from pre-commit/dont_pass_filenames_no_commit_to_branch
Don't pass filenames for no-commit-to-branch
2 parents b1a8062 + 66eb9d3 commit 5d8d33a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@
228228
name: "Don't commit to branch"
229229
entry: no-commit-to-branch
230230
language: python
231+
pass_filenames: false
231232
always_run: true
232233
# for backward compatibility
233234
files: ''

0 commit comments

Comments
 (0)