- return (f"({table}.rank_address between 4 and 25"\
- f" AND {table}.type != 'postcode'"\
- f" AND {table}.name is not null"\
- f" AND {table}.linked_place_id is null"\
- f" AND {table}.osm_type = 'N'"\
- " AND MbrIntersects(%s, ST_Expand(%s, 14.0 * exp(-0.2 * %s) - 0.03))"\
- f" AND {table}.place_id IN"\
- " (SELECT place_id FROM placex_place_node_areas"\
- " WHERE ROWID IN (SELECT ROWID FROM SpatialIndex"\
- " WHERE f_table_name = 'placex_place_node_areas'"\
- " AND search_frame = %s)))") % (
+ return (f"({table}.rank_address between 4 and 25"
+ f" AND {table}.type != 'postcode'"
+ f" AND {table}.name is not null"
+ f" AND {table}.linked_place_id is null"
+ f" AND {table}.osm_type = 'N'"
+ " AND MbrIntersects(%s, ST_Expand(%s, 14.0 * exp(-0.2 * %s) - 0.03))"
+ f" AND {table}.place_id IN"
+ " (SELECT place_id FROM placex_place_node_areas"
+ " WHERE ROWID IN (SELECT ROWID FROM SpatialIndex"
+ " WHERE f_table_name = 'placex_place_node_areas'"
+ " AND search_frame = %s)))") % (