fix: ruff warning

This commit is contained in:
Mose Müller 2024-07-04 12:23:58 +02:00
parent bfcf72fec7
commit 3c48a23277

View File

@ -184,6 +184,4 @@ def function_has_arguments(func: Callable[..., Any]) -> bool:
parameters.pop("self", None)
# Check if there are any parameters left which would indicate additional arguments.
if len(parameters) > 0:
return True
return False
return len(parameters) > 0