ActivityWatch / aw-core

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

Modifications to SqliteStorage to allow for custom filepaths #77

Closed ErikBjare closed 5 years ago

ErikBjare commented 5 years ago

I needed this in https://github.com/ActivityWatch/aw-server/pull/50

codecov[bot] commented 5 years ago

Codecov Report

Merging #77 into master will increase coverage by 0.14%. The diff coverage is 76.47%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
+ Coverage   94.97%   95.11%   +0.14%     
==========================================
  Files          33       33              
  Lines        1551     1598      +47     
  Branches      233      293      +60     
==========================================
+ Hits         1473     1520      +47     
- Misses         46       47       +1     
+ Partials       32       31       -1
Impacted Files Coverage Δ
aw_datastore/migration.py 73.52% <100%> (+2.94%) :arrow_up:
aw_datastore/storages/sqlite.py 96.62% <73.33%> (-1.98%) :arrow_down:
aw_analysis/query2.py 99.71% <0%> (+0.67%) :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 924605a...bacf2d7. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #77 into master will increase coverage by 0.14%. The diff coverage is 76.47%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
+ Coverage   94.97%   95.11%   +0.14%     
==========================================
  Files          33       33              
  Lines        1551     1598      +47     
  Branches      233      293      +60     
==========================================
+ Hits         1473     1520      +47     
- Misses         46       47       +1     
+ Partials       32       31       -1
Impacted Files Coverage Δ
aw_datastore/migration.py 73.52% <100%> (+2.94%) :arrow_up:
aw_datastore/storages/sqlite.py 96.62% <73.33%> (-1.98%) :arrow_down:
aw_analysis/query2.py 99.71% <0%> (+0.67%) :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 924605a...bacf2d7. Read the comment docs.