billwarrior
billwarrior copied to clipboard
Upgrade the version of `timew-report`
The version of timew-report
was restricted in #10 to deal with failing
tests. This change updates the version required by the Pipfile
and
makes the following code changes:
-
Update a test helper to pass in a value for the new required argument
annotation
. This is not used by the test suite, so the helper usesNone
for now. -
Addresses some breaking changes and deprecation warnings in
get_date
released in 1.4.get_date
now returns adate
instead of adatetime
.get_start_date
offers the same implementation thatget_date
used to, so no logic has changed here, and this avoids deprecation warnings.
Note that this pull request is branched from #13. These changes aren't actually related, but I wanted a stable testing state to base this upgrade on. The diff against master
will be smaller once that other change is merged.