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 instance variable which holds line in which errors happen #74

Merged
merged 4 commits into from
Sep 8, 2021

Conversation

santilytics
Copy link
Contributor

This PR simply adds the Line number as an instance variable. The test coverage piggy backs from existing tests to show the line numbers are correct.
Using a set ensures no line errors are repeated even if multiple validators find errors in the same line.

Would you like to add the line number to the error log? If so, where do you consider is the best place to be added if at all?

@di
Copy link
Owner

di commented Aug 30, 2021

Hi! Thanks for the PR. Looks like the Travis CI integration no longer works, would you be able to resolve #75?

@santilytics
Copy link
Contributor Author

I don't believe I have the permissions to do so and I haven't used github actions before but I could give it a try

@santilytics santilytics mentioned this pull request Sep 8, 2021
@santilytics santilytics closed this Sep 8, 2021
@di
Copy link
Owner

di commented Sep 8, 2021

Let's keep these as separate PRs

@di di reopened this Sep 8, 2021
@di di merged commit 927db94 into di:master Sep 8, 2021
@di
Copy link
Owner

di commented Sep 10, 2021

@santilytics Thanks! Released in https://pypi.org/project/vladiate/0.0.24/

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.

2 participants