tchar / ulauncher-albert-calculate-anything

A ULauncher/Albert extension that supports currency, units and date time conversion, as well as a calculator that supports complex numbers and functions.
MIT License
103 stars 13 forks source link

Create UpdateThread for currency updates #13

Closed tchar closed 3 years ago

tchar commented 3 years ago

Move thread logic to UpdateThread for better thread handling Create CurrencyData typing Rename lock to with_lock Improve typing

codecov-commenter commented 3 years ago

Codecov Report

Merging #13 (3df84b8) into master (328c496) will decrease coverage by 0.15%. The diff coverage is 95.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
- Coverage   95.74%   95.58%   -0.16%     
==========================================
  Files          54       55       +1     
  Lines        3688     3761      +73     
==========================================
+ Hits         3531     3595      +64     
- Misses        157      166       +9     
Flag Coverage Δ
unittests 95.58% <95.18%> (-0.16%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
calculate_anything/utils/__init__.py 100.00% <ø> (ø)
calculate_anything/units/service.py 85.96% <88.88%> (-3.13%) :arrow_down:
calculate_anything/currency/service.py 90.00% <93.96%> (+5.55%) :arrow_up:
calculate_anything/currency/cache.py 81.94% <100.00%> (-11.02%) :arrow_down:
calculate_anything/currency/data.py 100.00% <100.00%> (ø)
calculate_anything/currency/providers/base.py 100.00% <100.00%> (ø)
calculate_anything/currency/providers/coinbase.py 97.56% <100.00%> (+0.03%) :arrow_up:
calculate_anything/currency/providers/combined.py 91.86% <100.00%> (+0.09%) :arrow_up:
...ything/currency/providers/european_central_bank.py 97.26% <100.00%> (+0.03%) :arrow_up:
calculate_anything/currency/providers/fixerio.py 94.11% <100.00%> (+0.07%) :arrow_up:
... and 6 more

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 328c496...3df84b8. Read the comment docs.