Skip to content

Commit

Permalink
Added check-added-large-files hook (demisto#36057)
Browse files Browse the repository at this point in the history
* Added check-added-large-files hook

* increase the hood validate size to 10 MB

* changed to 5 MB

* add small file

* add large file

* fixed args

* remove new line

* test small file

* test big file

* fix arry

* remove redundant gif
  • Loading branch information
MosheEichler authored Oct 15, 2024
1 parent 3cf061d commit d18e650
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ repos:
- id: name-tests-test
min_py_version: '3.7'
files: .+_test.py$
- id: check-added-large-files
args: ['--maxkb=5120']
- repo: https://github.com/python-poetry/poetry
rev: 1.8.2
hooks:
Expand Down

0 comments on commit d18e650

Please sign in to comment.