Add age_controller.py with validate_age function (issue #12809) #15716
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
|