ActivityWatch / aw-core

Core library for ActivityWatch
Mozilla Public License 2.0
48 stars 47 forks source link

refactor: extracted TimePeriod class to timeslot repo #98

Closed ErikBjare closed 4 years ago

ErikBjare commented 4 years ago

I needed it for another project so figured it was about time to extract it.

It's now called timeslot and lives at: https://github.com/ErikBjare/timeslot

codecov[bot] commented 4 years ago

Codecov Report

Merging #98 (cfe7ab0) into master (2f8539b) will increase coverage by 0.46%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
+ Coverage   90.79%   91.25%   +0.46%     
==========================================
  Files          34       33       -1     
  Lines        1608     1556      -52     
  Branches      251      240      -11     
==========================================
- Hits         1460     1420      -40     
+ Misses        114      105       -9     
+ Partials       34       31       -3     
Impacted Files Coverage Δ
aw_core/__init__.py 100.00% <ø> (ø)
aw_core/log.py 100.00% <ø> (ø)
aw_transform/filter_period_intersect.py 91.95% <100.00%> (ø)
aw_datastore/__init__.py 92.30% <0.00%> (+15.38%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2f8539b...cfe7ab0. Read the comment docs.

lgtm-com[bot] commented 4 years ago

This pull request fixes 1 alert when merging cfe7ab0c30c9dba738c54659a1984548b56212c9 into 2f8539bf47d95d2e77d521f4ecc666e0faf45c88 - view on LGTM.com

fixed alerts: