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

Cleanup #21

Merged
merged 14 commits into from May 13, 2018
Merged

Cleanup #21

merged 14 commits into from May 13, 2018

Conversation

alchemyst
Copy link
Collaborator

Some significant cleanups. I'm doing a pull request so that you know about this and don't get tripped up on the merge. I've tried to be quite explicit in the commit messages, so have a look at them.

* You shouldn't use `is` to check for string equality.
* type(x) is str is an antipattern
* Extract common code in conditionals to before or after the conditional
* Use more dictionary update logic
@coveralls
Copy link

coveralls commented May 6, 2018

Coverage Status

Coverage increased (+0.1%) to 99.162% when pulling 7b87536 on cleanup into c2c8fd5 on master.

@Stefan-Endres Stefan-Endres self-assigned this May 6, 2018
@Stefan-Endres
Copy link
Owner

Thank you this a very good refactor, I will work on the issue with the sampling tonight before merging, I'm just finishing some polish on a paper.

@Stefan-Endres Stefan-Endres merged commit b0de7d2 into master May 13, 2018
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.

None yet

3 participants