uutils / parse_datetime

Parses a relative time string and returns a `Duration`
MIT License
14 stars 17 forks source link

ci: use `clippy --all-targets` #73

Closed cakebaker closed 2 months ago

cakebaker commented 2 months ago

This PR adds --all-targets to the clippy job in the CI and fixes two warnings from the zero_prefixed_literal lint.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.24%. Comparing base (acf9b9c) to head (fc14854).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #73 +/- ## ========================================== + Coverage 69.14% 70.24% +1.09% ========================================== Files 6 6 Lines 820 820 Branches 195 195 ========================================== + Hits 567 576 +9 Misses 135 135 + Partials 118 109 -9 ``` | [Flag](https://app.codecov.io/gh/uutils/parse_datetime/pull/73/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uutils) | Coverage Δ | | |---|---|---| | [macos_latest](https://app.codecov.io/gh/uutils/parse_datetime/pull/73/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uutils) | `69.14% <100.00%> (ø)` | | | [ubuntu_latest](https://app.codecov.io/gh/uutils/parse_datetime/pull/73/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uutils) | `68.17% <100.00%> (ø)` | | | [windows_latest](https://app.codecov.io/gh/uutils/parse_datetime/pull/73/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uutils) | `7.62% <0.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uutils#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.