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

Updates for latest package dependencies #380

Closed jdebacker closed 9 months ago

jdebacker commented 9 months ago

This PR updates the CCC code base to work with the latest versions of package dependencies. Pandas and Bokeh were the main reasons for test failures.

Also adding code formatting with Black.

codecov-commenter commented 9 months ago

Codecov Report

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

Comparison is base (fb9c9c2) 100.00% compared to head (aa1d941) 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380/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/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) ```diff @@ Coverage Diff @@ ## master #380 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 11 11 Lines 1112 1109 -3 ========================================= - Hits 1112 1109 -3 ``` | [Flag](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380/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/380/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | `100.00% <100.00%> (ø)` | | 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](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | Coverage Δ | | |---|---|---| | [ccc/\_\_init\_\_.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [ccc/calcfunctions.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL2NhbGNmdW5jdGlvbnMucHk=) | `100.00% <100.00%> (ø)` | | | [ccc/calculator.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL2NhbGN1bGF0b3IucHk=) | `100.00% <ø> (ø)` | | | [ccc/constants.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL2NvbnN0YW50cy5weQ==) | `100.00% <100.00%> (ø)` | | | [ccc/data.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL2RhdGEucHk=) | `100.00% <100.00%> (ø)` | | | [ccc/get\_taxcalc\_rates.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL2dldF90YXhjYWxjX3JhdGVzLnB5) | `100.00% <100.00%> (ø)` | | | [ccc/parameters.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL3BhcmFtZXRlcnMucHk=) | `100.00% <100.00%> (ø)` | | | [ccc/paramfunctions.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL3BhcmFtZnVuY3Rpb25zLnB5) | `100.00% <100.00%> (ø)` | | | [ccc/styles.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL3N0eWxlcy5weQ==) | `100.00% <100.00%> (ø)` | | | [ccc/utils.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL3V0aWxzLnB5) | `100.00% <100.00%> (ø)` | |