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

refactor: add mypy and fix typing issues #72

Merged
merged 2 commits into from
Mar 21, 2024

Conversation

gruebel
Copy link
Member

@gruebel gruebel commented Mar 19, 2024

This PR

  • configuring mypy was not fun, because of the protobuf generated code 🙈

Signed-off-by: gruebel <anton.gruebel@gmail.com>
@gruebel gruebel requested a review from a team as a code owner March 19, 2024 19:31
Copy link

codecov bot commented Mar 19, 2024

Codecov Report

Attention: Patch coverage is 86.66667% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 92.99%. Comparing base (d8e10c7) to head (47e8e78).
Report is 23 commits behind head on main.

Files Patch % Lines
...src/openfeature/contrib/provider/flagd/provider.py 83.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #72      +/-   ##
==========================================
+ Coverage   90.55%   92.99%   +2.43%     
==========================================
  Files           8        9       +1     
  Lines         180      214      +34     
==========================================
+ Hits          163      199      +36     
+ Misses         17       15       -2     
Flag Coverage Δ
unittests 92.99% <86.66%> (+2.43%) ⬆️

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.

@gruebel gruebel changed the title add mypy and fix typing issues refactor: add mypy and fix typing issues Mar 19, 2024
Copy link
Member

@federicobond federicobond left a comment

Choose a reason for hiding this comment

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

Awesome work @gruebel! I wasn't even aware we were not running mypy here.

Signed-off-by: gruebel <anton.gruebel@gmail.com>
@federicobond federicobond merged commit b405925 into open-feature:main Mar 21, 2024
16 of 17 checks passed
@gruebel gruebel deleted the add-mypy branch March 21, 2024 06:26
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