mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 20:16:53 +00:00
Add check-added-large-files hook
This commit is contained in:
parent
25e50df1e5
commit
e0a6e66528
5 changed files with 137 additions and 0 deletions
|
|
@ -5,6 +5,13 @@
|
|||
language: python
|
||||
files: \.py$
|
||||
args: [-i]
|
||||
- id: check-added-large-files
|
||||
name: Check for added large files
|
||||
language: python
|
||||
entry: check-added-large-files
|
||||
description: Prevent giant files from being committed
|
||||
# Match all files
|
||||
files: ''
|
||||
- id: check-json
|
||||
name: Check JSON
|
||||
description: This hook checks json files for parseable syntax.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue