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

Pylint Error Handling #13

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

harvey0100
Copy link
Contributor

Corrected error handling, check-lint now displays
correct exit codes on exit instead of only displaying the last executed commands exit code, keeps track of all failures and displays correct exit code if any failures were present.

Reference: #11

Copy link
Contributor

@richtja richtja left a comment

Choose a reason for hiding this comment

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

Hi @harvey0100, thanks for your fix. This is a suitable solution, and it works well, I just think that we might simplify it a little bit by using the command in IF clause instead of creating a new variable. Please let me know what do you think.

check-lint Outdated Show resolved Hide resolved
Corrected error handling, check-lint now displays
correct exit codes on exit instead of only displaying
the last executed commands exit code, keeps track of all failures
and displays correct exit code if any failures were present.

Reference:     avocado-framework#11
Signed-off-by: Harvey Lynden <[email protected]>
Copy link
Contributor

@richtja richtja left a comment

Choose a reason for hiding this comment

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

LGTM, thank you.

@richtja richtja merged commit 8a2c5df into avocado-framework:main Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done 109
Development

Successfully merging this pull request may close these issues.

2 participants