Update README.md

fixed check-added-large-files `args` syntax example.
This commit is contained in:
Luca Orlandi 2023-11-08 12:29:01 +01:00 committed by GitHub
parent 6306a48f7d
commit 9937e68c15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ Add this to your `.pre-commit-config.yaml`
#### `check-added-large-files`
Prevent giant files from being committed.
- Specify what is "too large" with `args: ['--maxkb=123']` (default=500kB).
- Specify what is "too large" with `args: ['--maxkb 1024k']` (default=500kB).
- Limits checked files to those indicated as staged for addition by git.
- If `git-lfs` is installed, lfs files will be skipped
(requires `git-lfs>=2.2.1`)