fix: ruff lint + format fixes in tests, ESLint fixes in frontend
This commit is contained in:
@@ -82,7 +82,9 @@ async def compare_prices(
|
||||
|
||||
# Calculate average price
|
||||
if listings:
|
||||
average_price = round(sum(listing.price for listing in listings) / len(listings), 2)
|
||||
average_price = round(
|
||||
sum(listing.price for listing in listings) / len(listings), 2
|
||||
)
|
||||
else:
|
||||
average_price = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user