mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
syntax
This commit is contained in:
parent
39bba8ecb2
commit
5f423bee31
1 changed files with 2 additions and 2 deletions
|
|
@ -33,8 +33,8 @@ def filter_lfs_files(filenames: set[str]) -> None: # pragma: no cover (lfs)
|
|||
def find_large_added_files(
|
||||
filenames: Sequence[str],
|
||||
maxkb: int,
|
||||
allow_in_lfs: bool,
|
||||
*,
|
||||
allow_in_lfs: bool = True,
|
||||
enforce_all: bool = False,
|
||||
) -> int:
|
||||
# Find all added files that are also in the list of files pre-commit tells
|
||||
|
|
@ -80,7 +80,7 @@ def main(argv: Sequence[str] | None = None) -> int:
|
|||
return find_large_added_files(
|
||||
args.filenames,
|
||||
args.maxkb,
|
||||
args.allow_in_lfs,
|
||||
allow_in_lfs=args.allow_in_lfs,
|
||||
enforce_all=args.enforce_all,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue