style: format code with linter

This commit is contained in:
Paul Gauthier (aider) 2024-08-23 09:54:16 -07:00
parent d7f51af9ba
commit 950fc7f41a

View file

@ -16,6 +16,7 @@ class Car:
def honk(self):
print(f"{self.make} {self.model}: Beep beep!")
class Garage:
def __init__(self):
self.cars = []
@ -39,6 +40,7 @@ class Garage:
else:
print("The garage is empty.")
def main():
# Create some cars
car1 = Car("Toyota", "Corolla", 2020)
@ -61,5 +63,6 @@ def main():
my_garage.remove_car(car1)
my_garage.list_cars()
if __name__ == "__main__":
main()