[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2022-06-10 07:14:15 +00:00
parent 2249b3a1de
commit 53e9db61c7
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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():