macxred / cashctrl_ledger

Implementation of the abstract pyledger.LegderEngine interface with CashCtrl accounting service.
MIT License
0 stars 0 forks source link

Feat: implement precision() an use round_series_to_precision() #71

Closed AlexTheWizardL closed 2 months ago

AlexTheWizardL commented 3 months ago

This PR removes TODO comments related to rounding by implementing the round_series_to_precision() method.

Key points:

@lasuk Please review the changes and provide feedback or approval for merging

codecov[bot] commented 2 months ago

Codecov Report

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

Flag Coverage Δ
unittests 93.54% <100.00%> (+0.29%) :arrow_up:

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

Files with missing lines Coverage Δ
cashctrl_ledger/extended_ledger.py 94.64% <100.00%> (ø)
cashctrl_ledger/ledger.py 93.09% <100.00%> (+0.41%) :arrow_up:
lasuk commented 2 months ago

Added a few commits to fix errors and simplify the implementation. @AlexTheWizardL: Please shout if you disagree.