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

Add threshold for file validations #89

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

haritha-ravi
Copy link
Contributor

@haritha-ravi haritha-ravi commented Sep 5, 2023

In certain use cases, it becomes unnecessary to continue validating a file if the fail_count reaches a high number. So this PR aims to optionally stop validating a file if the fail_count reaches a certain threshold.

I will also reference the issue here for further context: #90

PS: I am not an expert programmer so please free to suggest corrections in the code and even provide other ideas.

Fixes #90.

@di
Copy link
Owner

di commented Sep 5, 2023

Hi, can you open an issue describing what you're trying to do here so we can discuss it? Thanks!

@haritha-ravi haritha-ravi changed the title [WIP]Add threshold for file validations Add threshold for file validations Sep 6, 2023
vladiate/vlad.py Outdated Show resolved Hide resolved
vladiate/vlad.py Outdated Show resolved Hide resolved
@haritha-ravi haritha-ravi requested a review from di September 6, 2023 16:34
README.rst Outdated Show resolved Hide resolved
@haritha-ravi haritha-ravi requested a review from di September 6, 2023 18:08
@haritha-ravi
Copy link
Contributor Author

Hi @di , I am wondering if there is anything else expected from my side to wrap one up.

@di
Copy link
Owner

di commented Nov 2, 2023

Closing and re-opening to trigger CI.

@di di closed this Nov 2, 2023
@di di reopened this Nov 2, 2023
@di di merged commit 1a8e901 into di:master Nov 2, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop validating a file when the failures reach a certain threshold
2 participants