mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
style: format code with linter
This commit is contained in:
parent
d7f51af9ba
commit
950fc7f41a
1 changed files with 3 additions and 0 deletions
3
tests/fixtures/sample-code-base/sample.py
vendored
3
tests/fixtures/sample-code-base/sample.py
vendored
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue