Skip to content

Commit

Permalink
fix: ruff lint
Browse files Browse the repository at this point in the history
Signed-off-by: Hayato Mizushima <[email protected]>
  • Loading branch information
hayato-m126 committed Nov 15, 2024
1 parent de70a72 commit b93b9f5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,13 @@ def extract_index_from_id(t4_dataset_id: str, datasets: list[dict]) -> int | str
return idx
return "index not found"


def extract_remap_topics(profile_name: str) -> list[str]:
profile_file = Path(
get_package_share_directory("driving_log_replayer_v2"),
"config",
"remap",
f"{profile_name}.yaml"
f"{profile_name}.yaml",
)
# Make it work with symlink install as well.
if profile_file.is_symlink():
Expand Down

0 comments on commit b93b9f5

Please sign in to comment.