Add function to validate timedelta for overflow#3295
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Test results 12 files 12 suites 11m 48s ⏱️ Results for commit ce89f5b. ♻️ This comment has been updated with latest results. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3295 +/- ##
==========================================
- Coverage 60.75% 60.73% -0.03%
==========================================
Files 606 606
Lines 43756 43757 +1
Branches 48 48
==========================================
- Hits 26586 26577 -9
- Misses 17158 17168 +10
Partials 12 12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Good location for the utility function! As me and @lunkwill42 discovered, merging a PR that depends on sub-PRs will also automatically close the sub-PRs. Therefore I'll only be reviewing this one =) Less to do now too what with the validator in play. |
|
A docstring stating what error it will raise if the validation fails could be useful |
Yes, but the others mentioned are not sub-PRs, they are dependent on this PR and will not automatically closed when this one is merged, they will simply change their base to |
In case of a user input for an interval
4e20d9e to
ce89f5b
Compare
|




As suggested by @hmpf in #3289.
I will soon make all the other time input PRs (#3285, #3287 and #3289) dependent on this then.