Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #518, provide --enforce-all option to check_added_large_files #519

Merged
merged 1 commit into from
Sep 27, 2020

Conversation

mshawcroft
Copy link
Contributor

The --enforce-all option when provided ensures that all files passed
on the command line are checked against the size limit. Default
behaviour remains unchanged.

pre_commit_hooks/check_added_large_files.py Outdated Show resolved Hide resolved
pre_commit_hooks/check_added_large_files.py Outdated Show resolved Hide resolved
pre_commit_hooks/check_added_large_files.py Outdated Show resolved Hide resolved
tests/check_added_large_files_test.py Outdated Show resolved Hide resolved
tests/check_added_large_files_test.py Outdated Show resolved Hide resolved
tests/check_added_large_files_test.py Outdated Show resolved Hide resolved
…_files

The --enforce-all option when provided ensures that all files passed
on the command line are checked against the size limit.  Default
behaviour remains unchanged.
Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asottile asottile merged commit 5bd9e74 into pre-commit:master Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants