Skip to content

Commit 5e63904

Browse files
committed
fix: lint
1 parent be40bd9 commit 5e63904

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

functions-python/reverse_geolocation/src/location_group_utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ def create_http_task(client: tasks_v2.CloudTasksClient, body: bytes, url: str):
4545

4646

4747
class GeopolygonAggregate:
48-
"""A class to represent an aggregate of geopolygon object to represent a location (e.g. Canada, Ontario, Toronto)."""
48+
"""
49+
A class to represent an aggregate of geopolygon object to represent a location
50+
(e.g. Canada, Ontario, Toronto).
51+
"""
4952

5053
def __init__(self, location_group: Osmlocationgroup, stop_count: int):
5154
self.group_id = location_group.group_id

functions-python/reverse_geolocation/src/reverse_geolocation_processor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ def create_geojson_aggregate(
256256
"group"
257257
].get_display_name(),
258258
"stops_in_area": geo_polygon_count[osm_id]["group"].stop_count,
259-
"stops_in_area_coverage": f"{geo_polygon_count[osm_id]['group'].stop_count / total_stops * 100:.2f}%",
259+
"stops_in_area_coverage": f"{geo_polygon_count[osm_id]['group'].stop_count / total_stops * 100:.2f}"
260+
f"%",
260261
"color": generate_color(
261262
geo_polygon_count[osm_id]["group"].stop_count, max_match
262263
),

0 commit comments

Comments
 (0)