-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
Allow optional conversion #173
Conversation
This just adds a function that makes an existing converter work for optional inputs.
82fe20c
to
a55389a
Compare
Codecov Report
@@ Coverage Diff @@
## master #173 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 8 9 +1
Lines 546 554 +8
Branches 121 122 +1
=====================================
+ Hits 546 554 +8
Continue to review full report at Codecov.
|
a review is required. How does a reviewer get assigned ? |
Sorry no one got around to look at this yet! I'm currently busy preparing for a conference this weekend so my FLOSS activity is limited. I usually don't assign reviewers without good reason since that would be assigning work. But In this case I'd like to ask @Tinche if this is what he had in mind before I review it once I have a free minute. If he does a full review: even better. ;) We try to keep the PR queue as empty as possible; sorry you got caught in a bad moment! |
Yeah, usually PRs adding features are lower priority than bug fixes and I've been busy too :) The code LGTM, except we now have two hooks named |
So I looked at it and gotta say that this is annoying me WRT #146. No criticism to you @adetokunbo the code looks good! But before merging this, we should make a decision on #146 grumble. |
Thank you and sorry for the ultimately unnecessary delay. |
Fixes #105
... or at least, provides the simplest possible solution to #105.
I.e,
-it adds a simple callable that makes existing converters optional, using the code suggested by @Tinche
-it does not provide a single callable for both converters and validators . Please let me know if that's necessary
I went through the checklist; the only thing that I think is not done is the addition to the hypothesis testing strategy. I'm submitting and asking about that ;)
Pull Request Check List
This is just a reminder about the most common mistakes. Please make sure that you tick all appropriate boxes. But please read our contribution guide at least once, it will save you unnecessary review cycles!
.rst
files is written using semantic newlines.versionadded
,versionchanged
, ordeprecated
directives.CHANGELOG.rst
.If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!