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

Start add typing to python lib #1167

Merged
merged 1 commit into from
Apr 6, 2024
Merged

Conversation

GerhardOfRivia
Copy link
Contributor

Copy link

sonarqubecloud bot commented Apr 2, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

hash_ = {k.decode(): v for (k, v) in base.items()}
for key, value in hash_.items():
hash_[key] = json.loads(value)
return hash_
Copy link
Member

Choose a reason for hiding this comment

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

Why the underscore: hash_

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hash is a built-in function in python, https://docs.python.org/3/library/functions.html#hash

Copy link

codecov bot commented Apr 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.97%. Comparing base (89c5d5d) to head (c595605).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1167      +/-   ##
==========================================
- Coverage   74.98%   74.97%   -0.01%     
==========================================
  Files         595      595              
  Lines       43926    43923       -3     
  Branches      758      758              
==========================================
- Hits        32937    32933       -4     
- Misses      10906    10907       +1     
  Partials       83       83              
Flag Coverage Δ
frontend 55.34% <ø> (ø)
python 82.98% <100.00%> (-0.02%) ⬇️
ruby-api 48.71% <ø> (ø)
ruby-backend 80.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@jmthomas jmthomas merged commit 05f76f2 into OpenC3:main Apr 6, 2024
24 checks passed
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