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