Skip to content

Commit

Permalink
Lint with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
argenos committed Jan 17, 2025
1 parent f05d7b1 commit 27cf245
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/fpm/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,12 @@ def get_occ_grid(g, base_path, **kwargs):
output_path = get_output_path(base_path, "maps")
generate_occ_grid(g, output_path, **kwargs)


def get_3d_mesh(g, base_path, **kwargs):
output_path = get_output_path(base_path, "3d-mesh")
generate_3d_mesh(g, output_path, **kwargs)


def get_output_path(base_path, subfolder, model_name=None):
if model_name is None:
return os.path.join(base_path, subfolder)
Expand Down
3 changes: 2 additions & 1 deletion src/fpm/generators/occ_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
get_coordinates_map,
get_floorplan_model_name,
get_wall_points,
get_opening_points, get_waypoint_coord,
get_opening_points,
get_waypoint_coord,
)
from fpm.utils import load_template, save_file
from fpm.constants import FPMODEL
Expand Down
3 changes: 2 additions & 1 deletion src/fpm/transformations/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
from fpm.graph import (
get_space_points,
get_coordinates_map,
get_floorplan_model_name, get_waypoint_coord,
get_floorplan_model_name,
get_waypoint_coord,
)


Expand Down

0 comments on commit 27cf245

Please sign in to comment.