Skip to content

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

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

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

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (W293): age_controller.py#L60
age_controller.py:60:1: W293 Blank line contains whitespace
Ruff (W293): age_controller.py#L56
age_controller.py:56:1: W293 Blank line contains whitespace
Ruff (W293): age_controller.py#L53
age_controller.py:53:1: W293 Blank line contains whitespace
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
Ruff (W293): age_controller.py#L47
age_controller.py:47:1: W293 Blank line contains whitespace
Ruff (W293): age_controller.py#L23
age_controller.py:23:1: W293 Blank line contains whitespace
Ruff (W293): age_controller.py#L19
age_controller.py:19:1: W293 Blank line contains whitespace
Ruff (W293): age_controller.py#L16
age_controller.py:16:1: W293 Blank line contains whitespace
Ruff (W293): age_controller.py#L13
age_controller.py:13:1: W293 Blank line contains whitespace
Ruff (W293): age_controller.py#L10
age_controller.py:10:1: W293 Blank line contains whitespace