Skip to content

Commit c52b391

Browse files
fix: Better handling of large files (#317)
Whitelists the uv.lock file for the large files check, rather than allowing all files to increase in size. This also allows for the case (e.g. blueapi) where the uv.lock file is >1000kB.
1 parent 294dc13 commit c52b391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: v5.0.0
44
hooks:
55
- id: check-added-large-files
6-
args: ["--maxkb=1000"] # uv.lock is more than 500kB
6+
exclude: ^uv.lock
77
- id: check-yaml
88
- id: check-merge-conflict
99
- id: end-of-file-fixer

0 commit comments

Comments
 (0)