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

Combine MatchError into Match #884

Merged
merged 2 commits into from
Jul 7, 2020
Merged

Combine MatchError into Match #884

merged 2 commits into from
Jul 7, 2020

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Jul 4, 2020

Combine two very similar classes in order to avoid extra complexity
in processing rule validates.

From now on a Match is an Exception so it can be raised, captured,
and annotated in various places in the call stack.

@ssbarnea ssbarnea marked this pull request as ready for review July 4, 2020 12:48
@ssbarnea ssbarnea mentioned this pull request Jul 5, 2020
lib/ansiblelint/errors.py Outdated Show resolved Hide resolved
lib/ansiblelint/errors.py Outdated Show resolved Hide resolved
Combine two very similar classes in order to avoid extra complexity
in processing rule validates.

From now on a Match is an Exception so it can be raised, captured,
and annotated in various places in the call stack.
lib/ansiblelint/errors.py Outdated Show resolved Hide resolved
test/TestFormatter.py Outdated Show resolved Hide resolved
@ssbarnea
Copy link
Member Author

ssbarnea commented Jul 7, 2020

zuul issue is infra related, reported.

@ssbarnea ssbarnea merged commit 70376e9 into ansible:master Jul 7, 2020
@ssbarnea ssbarnea deleted the exception branch July 7, 2020 12:14
@ssbarnea ssbarnea added enhancement and removed gate labels Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants