add precommit check added large files and git lfs rules (#2866)
This commit is contained in:
parent
7debd3dbb9
commit
8a8fc76fc4
5
.gitattributes
vendored
Normal file
5
.gitattributes
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jpg filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.webp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gif filter=lfs diff=lfs merge=lfs -text
|
@ -1,3 +1,5 @@
|
|||||||
|
fail_fast: true
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 22.10.0
|
rev: 22.10.0
|
||||||
@ -25,6 +27,12 @@ repos:
|
|||||||
- id: darglint
|
- id: darglint
|
||||||
exclude: '^reflex/reflex.py'
|
exclude: '^reflex/reflex.py'
|
||||||
|
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v4.5.0
|
||||||
|
hooks:
|
||||||
|
- id: check-added-large-files
|
||||||
|
args: ['--maxkb=300', "--enforce-all"]
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: update-pyi-files
|
- id: update-pyi-files
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 897 KiB After Width: | Height: | Size: 131 B |
Binary file not shown.
Before Width: | Height: | Size: 751 KiB After Width: | Height: | Size: 131 B |
Loading…
Reference in New Issue
Block a user