CI: Prevent large files from being added

This commit is contained in:
Martin Thoma
2022-03-26 05:52:41 +01:00
parent 0e3aecccfa
commit 4250a83705
2 changed files with 37 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- id: check-added-large-files
args: ['--maxkb=1000']
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
hooks:
@@ -22,7 +24,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
rev: v2.31.1
hooks:
- id: pyupgrade
args: [--py37-plus]
@@ -30,4 +32,4 @@ repos:
rev: v1.12.1
hooks:
- id: blacken-docs
additional_dependencies: [black==20.8b1]
additional_dependencies: [black==22.1.0]