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

Remove redundant conditional #590

Merged
merged 2 commits into from
Sep 26, 2024
Merged

Conversation

mfisher87
Copy link
Member

@mfisher87 mfisher87 commented Aug 27, 2024

This conditional is handled by the next one in the chain.

Copy link

github-actions bot commented Aug 27, 2024

Binder 👈 Launch a binder notebook on this branch for commit e9be80e

I will automatically update this comment whenever this PR is modified

Binder 👈 Launch a binder notebook on this branch for commit 4c93af5

Copy link

codecov bot commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.76%. Comparing base (4e54d0a) to head (4c93af5).
Report is 1 commits behind head on development.

Additional details and impacted files
@@               Coverage Diff               @@
##           development     #590      +/-   ##
===============================================
+ Coverage        66.68%   66.76%   +0.07%     
===============================================
  Files               36       36              
  Lines             3077     3075       -2     
  Branches           594      593       -1     
===============================================
+ Hits              2052     2053       +1     
+ Misses             935      933       -2     
+ Partials            90       89       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -393,8 +393,6 @@ def build_params(self, **kwargs):
self._fmted_keys.update({key: kwargs[key]})
except KeyError:
self._fmted_keys.update({key: kwargs["product"]})
elif key == "version":
self._fmted_keys.update({key: kwargs["version"]})
elif key in kwargs:
self._fmted_keys.update({key: kwargs[key]})
Copy link
Member Author

Choose a reason for hiding this comment

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

For key == "version", this branch does the same thing as the removed branch.

@mfisher87 mfisher87 added the review::quick This change should not require more than 10 minutes to review label Aug 27, 2024
@JessicaS11 JessicaS11 merged commit b7e07bf into development Sep 26, 2024
10 checks passed
@JessicaS11 JessicaS11 deleted the remove-redundant-conditional branch September 26, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review::quick This change should not require more than 10 minutes to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants