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 if/elif/else, returns and isinstance comparisons #120

Merged
merged 3 commits into from
Oct 11, 2022
Merged

Pylint if/elif/else, returns and isinstance comparisons #120

merged 3 commits into from
Oct 11, 2022

Conversation

marksmayo
Copy link
Contributor

Some more pylint stuff, cleaning up unnecessarily complex if/elif/else branches, and overly complex boolean / instance comparisons. Hope it helps. I'm unsure how to trigger the code coverage you did last time.

@Miksus
Copy link
Owner

Miksus commented Sep 28, 2022

Sorry been a bit busy. I'll check this next weekend at the latest.

Thanks again for cleaning the project! This is well appreciated.

@marksmayo
Copy link
Contributor Author

No hurry or worries, I'm learning a lot by working through these, and hopefully they're somewhat useful.

@Miksus
Copy link
Owner

Miksus commented Oct 11, 2022

Sorry for taking eternity with this, got distracted with learning about event-driven design (in order to make Rocketry to support its patterns).

I'll try to merge this today evening.

@Miksus Miksus merged commit 455ae84 into Miksus:master Oct 11, 2022
@Miksus
Copy link
Owner

Miksus commented Oct 11, 2022

Thanks again for the PR! Looks indeed good and especially the tests previously had some really odd patterns.

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