lint fixes
Some checks failed
Continuous Integration / Code Formatting (pull_request) Successful in 27s
Continuous Integration / Code Quality Check (pull_request) Successful in 29s
Continuous Integration / Test Execution (pull_request) Failing after 33s
Continuous Integration / CI Summary (pull_request) Failing after 5s

This commit is contained in:
2025-09-28 19:16:20 +04:00
parent c1f3f9f708
commit eb99c6a18e
46 changed files with 2608 additions and 1304 deletions

View File

@@ -150,14 +150,12 @@ func _normalize_value_for_checksum(value) -> String:
"""
if value == null:
return "null"
elif value is bool:
if value is bool:
return str(value)
elif value is int or value is float:
if value is int or value is float:
# Convert all numeric values to integers if they are whole numbers
# This prevents float/int type conversion issues after JSON serialization
if value is float and value == floor(value):
return str(int(value))
else:
return str(value)
else:
return str(value)
return str(value)