mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-04 19:26:52 +00:00
Implement attribute consistency check for LFS files
This commit is contained in:
parent
aae27b8a3e
commit
622b4e12c5
5 changed files with 167 additions and 0 deletions
|
|
@ -54,6 +54,12 @@ Checks that non-binary executables have a proper shebang.
|
|||
#### `check-json`
|
||||
Attempts to load all json files to verify syntax.
|
||||
|
||||
#### `check-lfs-attributes`
|
||||
Check for files with mismatching LFS attribute.
|
||||
- Limits checked files to those indicated as staged for addition by git.
|
||||
- `--enforce-all` - Check all listed files not just those staged for
|
||||
addition.
|
||||
|
||||
#### `check-merge-conflict`
|
||||
Check for files that contain merge conflict strings.
|
||||
- `--assume-in-merge` - Allows running the hook when there is no ongoing merge operation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue