style: format lbc-finder with ruff

This commit is contained in:
etienne-hd
2026-04-29 19:44:17 +02:00
parent 73e33ab782
commit 90469d9025
12 changed files with 101 additions and 73 deletions

View File

@@ -3,11 +3,11 @@ import lbc
from .handler import handle
location = lbc.City(
location = lbc.City(
lat=48.85994982004764,
lng=2.33801967847424,
radius=10_000, # 10 km
city="Paris"
radius=10_000, # 10 km
city="Paris",
)
CONFIG = [
@@ -18,9 +18,9 @@ CONFIG = [
locations=[location],
category=lbc.Category.IMMOBILIER,
square=[200, 400],
price=[300_000, 700_000]
price=[300_000, 700_000],
),
delay=60 * 5, # Check every 5 minutes
handler=handle
delay=60 * 5, # Check every 5 minutes
handler=handle,
),
]
]