simplify apr_interest with validation helper and constants #14415
Annotations
6 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (EM102):
financial/interest.py#L113
financial/interest.py:113:34: EM102 Exception must not use an f-string literal, assign to variable first
|
|
Ruff (PLR5501):
financial/interest.py#L111
financial/interest.py:111:9: PLR5501 Use `elif` instead of `else` then `if`, to reduce indentation
|
|
Ruff (EM102):
financial/interest.py#L110
financial/interest.py:110:34: EM102 Exception must not use an f-string literal, assign to variable first
|
|
Ruff (E501):
financial/interest.py#L107
financial/interest.py:107:89: E501 Line too long (89 > 88)
|
|
Ruff (N806):
financial/interest.py#L105
financial/interest.py:105:5: N806 Variable `DAYS_IN_YEAR` in function should be lowercase
|