fix: ruff lint + format fixes in tests, ESLint fixes in frontend
This commit is contained in:
@@ -109,9 +109,7 @@ def map_fields(vehicle: Vehicle) -> dict[str, Any]:
|
||||
}
|
||||
|
||||
if vehicle.first_registration is not None:
|
||||
ad["firstRegistration"] = _format_first_registration(
|
||||
vehicle.first_registration
|
||||
)
|
||||
ad["firstRegistration"] = _format_first_registration(vehicle.first_registration)
|
||||
|
||||
if mileage is not None:
|
||||
ad["mileage"] = mileage
|
||||
|
||||
Reference in New Issue
Block a user