simplify apr_interest with validation helper and constants #14416
Annotations
5 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (EM102):
financial/interest.py#L115
financial/interest.py:115:34: EM102 Exception must not use an f-string literal, assign to variable first
|
|
Ruff (PLR5501):
financial/interest.py#L113
financial/interest.py:113:9: PLR5501 Use `elif` instead of `else` then `if`, to reduce indentation
|
|
Ruff (EM102):
financial/interest.py#L112
financial/interest.py:112:34: EM102 Exception must not use an f-string literal, assign to variable first
|
|
Ruff (N806):
financial/interest.py#L105
financial/interest.py:105:5: N806 Variable `DAYS_IN_YEAR` in function should be lowercase
|