mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-30 02:16:52 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
2249b3a1de
commit
53e9db61c7
2 changed files with 2 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ def find_large_added_files(
|
|||
# us about
|
||||
retv = 0
|
||||
filenames_filtered = set(filenames)
|
||||
|
||||
|
||||
if allow_in_lfs:
|
||||
filter_lfs_files(filenames_filtered)
|
||||
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ def test_allows_gitlfs(temp_git_dir): # pragma: no cover
|
|||
# Should succeed
|
||||
assert main(('--maxkb', '9', 'f.py')) == 0
|
||||
|
||||
|
||||
@xfailif_no_gitlfs
|
||||
def test_disallows_gitlfs_when_specified(temp_git_dir): # pragma: no cover
|
||||
with temp_git_dir.as_cwd():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue