ActivityWatch / aw-core

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

improved documentation of transform and query2 functions #79

Closed ErikBjare closed 5 years ago

ErikBjare commented 5 years ago

It's still not perfect, but an improvement.

Following discussion in https://github.com/ActivityWatch/activitywatch/issues/294

codecov[bot] commented 5 years ago

Codecov Report

Merging #79 into master will increase coverage by 0.07%. The diff coverage is 97.56%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #79      +/-   ##
=========================================
+ Coverage   94.73%   94.8%   +0.07%     
=========================================
  Files          33      33              
  Lines        1556    1560       +4     
  Branches      235     236       +1     
=========================================
+ Hits         1474    1479       +5     
  Misses         47      47              
+ Partials       35      34       -1
Impacted Files Coverage Δ
aw_transform/sort_by.py 81.25% <ø> (ø) :arrow_up:
aw_core/__init__.py 100% <ø> (ø) :arrow_up:
aw_transform/flood.py 90.69% <ø> (ø) :arrow_up:
aw_transform/filter_period_intersect.py 89.41% <100%> (ø) :arrow_up:
aw_transform/__init__.py 100% <100%> (ø) :arrow_up:
aw_analysis/query2_functions.py 86.23% <97.36%> (+1.15%) :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 61b1764...b56f181. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #79 into master will increase coverage by 0.52%. The diff coverage is 98.59%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
+ Coverage   94.73%   95.25%   +0.52%     
==========================================
  Files          33       33              
  Lines        1556     1560       +4     
  Branches      235      238       +3     
==========================================
+ Hits         1474     1486      +12     
+ Misses         47       41       -6     
+ Partials       35       33       -2
Impacted Files Coverage Δ
aw_transform/sort_by.py 87.5% <ø> (+6.25%) :arrow_up:
aw_core/__init__.py 100% <ø> (ø) :arrow_up:
aw_transform/flood.py 90.69% <ø> (ø) :arrow_up:
aw_transform/filter_period_intersect.py 89.41% <100%> (ø) :arrow_up:
aw_transform/simplify.py 100% <100%> (ø) :arrow_up:
aw_transform/__init__.py 100% <100%> (ø) :arrow_up:
aw_analysis/query2_functions.py 90.57% <98.48%> (+5.5%) :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 61b1764...9370817. Read the comment docs.