Skip to content

Add age_controller.py with validate_age function (issue #12809) #15716

Add age_controller.py with validate_age function (issue #12809)

Add age_controller.py with validate_age function (issue #12809) #15716

Triggered via pull request October 21, 2025 02:07
Status Failure
Total duration 19s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
ruff
Process completed with exit code 1.
Ruff (SIM108): age_controller.py#L49
age_controller.py:49:9: SIM108 Use ternary operator `age_int = int(age_float) if age_float != int(age_float) else int(age_float)` instead of `if`-`else`-block