Skip to content

simplify apr_interest with validation helper and constants #14416

simplify apr_interest with validation helper and constants

simplify apr_interest with validation helper and constants #14416

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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