-
Notifications
You must be signed in to change notification settings - Fork 421
refactor(feature-toggles): code coverage and housekeeping #530
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(feature-toggles): code coverage and housekeeping #530
Conversation
Changes: - Add missing test coverage - Fix some MyPy error - Use NumPy docstrings - Use *Error naming convention for exceptions
Thanks for helping out @michaelbrewer --- could you change to Google docstring? Mkdocstrings doesn't support Numpy 😢 thats what I'm refactoring all code in another PR |
Codecov Report
@@ Coverage Diff @@
## develop #530 +/- ##
===========================================
+ Coverage 99.19% 99.86% +0.67%
===========================================
Files 113 113
Lines 4476 4478 +2
Branches 243 243
===========================================
+ Hits 4440 4472 +32
+ Misses 24 3 -21
+ Partials 12 3 -9
Continue to review full report at Codecov.
|
haha, i thought you did not like Google docstrings. lol.. |
I don’t ;-) just having a fight with mkdocstrings to support Numpy.
I’ll try one more time using an undocumented way to see if it works fully —
if it does great if not well :(
…On Sat, 17 Jul 2021 at 08:51, Michael Brewer ***@***.***> wrote:
Thanks for helping out @michaelbrewer <https://github.com/michaelbrewer>
--- could you change to Google docstring?
Mkdocstrings doesn't support Numpy 😢 thats what I'm refactoring all code
in another PR
haha, i thought you did not like Google docstrings. lol..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#530 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZPQBELCMM2N74SOOHYHCLTYESA3ANCNFSM5AQRLLJA>
.
|
@heitorlessa - Seems like it is supported: python handler
|
I guess ironically mkdocstrings doc site is out of date with with the actual Readmes. |
yep, just used this to make it work, though I accidentally found a minor bug there too: mkdocstrings/mkdocstrings#260 I'll revert to Numpy as it rocks :D, then go and fix one issue at a time |
@risenberg-cyberark Can you verify i have not broken anything :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
excellent work ;)
@heitorlessa not much else to add here from the mypy, testing side of things. |
thanks a lot @michaelbrewer -- Given the amount of fixes for the next release, I find it best to release the feature toggles without documenting them first, then make This will give me time to wrap my head around feature toggles utility, write a proper doc for it, refactor any necessary UX thing, and have a dedicated release note to it -- This should give enough time to have all bugfixes available to people, and feature toggle released ahead of Ran's live stream on Twitch in Aug. cc @risenberg-cyberark |
…ent-subclass * develop: refactor(feature-toggles): Code coverage and housekeeping (aws-powertools#530) feat(logger): add get_correlation_id method (aws-powertools#516)
Issue #, if available:
Description of changes:
Changes:
ConfigurationException
vsConfigurationError
)make mypy
and remove from themypy.ini
, to fix issues with PyCharm.Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.