Skip to content

simplify apr_interest with validation helper and constants #14415

simplify apr_interest with validation helper and constants

simplify apr_interest with validation helper and constants #14415

Triggered via pull request October 2, 2025 19:25
Status Failure
Total duration 17s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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