style: Format code with linter and fix whitespace

This commit is contained in:
Paul Gauthier (aider) 2025-03-11 11:29:44 -07:00
parent e10fe50c6f
commit 2c5c2b2f67

View file

@ -621,10 +621,10 @@ class Model(ModelSettings):
value = value.strip().upper()
if value.endswith('K'):
if value.endswith("K"):
multiplier = 1024
value = value[:-1]
elif value.endswith('M'):
elif value.endswith("M"):
multiplier = 1024 * 1024
value = value[:-1]
else: