MAINT: Apply pre-commit

Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
This commit is contained in:
Martin Thoma
2022-03-05 09:29:23 +01:00
parent f5e33ae38f
commit e64fb6795c
536 changed files with 6267 additions and 5556 deletions

View File

@@ -121,7 +121,7 @@ def deliver_to(customer_index, customer_name, player_name):
print(f" DRIVER TO {player_name}: WHERE DOES {customer_name} LIVE?")
coords = input()
xc, yc = [int(c) for c in coords.split(",")]
xc, yc = (int(c) for c in coords.split(","))
delivery_index = calculate_customer_index(xc, yc)
if delivery_index == customer_index:
print(f"HELLO {player_name}. THIS IS {customer_name}, THANKS FOR THE PIZZA.")