PSLmodels / Cost-of-Capital-Calculator

A cost of capital and effective tax rate calculator
https://ccc.pslmodels.org
Other
17 stars 33 forks source link

Clean up `calcfunctions.py` and docs #398

Closed jdebacker closed 3 weeks ago

jdebacker commented 1 month ago

This PR cleans up unnecessary lines from calcfunctions.py and fixes various typos in the documentation.

codecov-commenter commented 1 month ago

Codecov Report

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

Project coverage is 99.91%. Comparing base (5754f22) to head (42c1ddc). Report is 3 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/398/graphs/tree.svg?width=650&height=150&src=pr&token=vOrtCdGu1c&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels)](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/398?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) ```diff @@ Coverage Diff @@ ## master #398 +/- ## ========================================== - Coverage 99.91% 99.91% -0.01% ========================================== Files 11 11 Lines 1140 1133 -7 ========================================== - Hits 1139 1132 -7 Misses 1 1 ``` | [Flag](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/398/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/398/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | `99.91% <100.00%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/398?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | Coverage Δ | | |---|---|---| | [ccc/calcfunctions.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/398?src=pr&el=tree&filepath=ccc%2Fcalcfunctions.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL2NhbGNmdW5jdGlvbnMucHk=) | `100.00% <100.00%> (ø)` | |