Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Pythonic changes #51

Merged
merged 4 commits into from
Oct 7, 2019
Merged

Pythonic changes #51

merged 4 commits into from
Oct 7, 2019

Conversation

alanyee
Copy link
Contributor

@alanyee alanyee commented Oct 3, 2019

-Constants should not have unnecessary operators
-.get() returns None by default if value is missing
-array itself over len() for checking emptiness
-Other optimizations

Testing Done:

  • Unit tests pass.

Constants should not have operations within it
-Constants should not have unnecessary operators
-.get() returns None by default if value is missing
-Other optimizations
array itself over len()
@CLAassistant
Copy link

CLAassistant commented Oct 3, 2019

CLA assistant check
All committers have signed the CLA.

@shrinandj
Copy link
Collaborator

Thanks for your contributions @alanyee! Can you add a "Testing Done" section to the PR? Something like: #30

Copy link

@davemasselink davemasselink left a comment

Choose a reason for hiding this comment

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

looks good, should all be non-functional changes... but nice pythonic style improvements

@shrinandj shrinandj merged commit 9e175e9 into keikoproj:master Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants