style: format Gemini transformation

This commit is contained in:
dajiaohuang 2026-09-04 14:36:08 +08:00
parent 09bf95d201
commit 223e49e9ae

View file

@ -613,7 +613,9 @@ def _get_equivalent_key(key: str, available_keys: set) -> str | None:
return None
def check_if_part_exists_in_parts(parts: list[PartType], part: PartType, excluded_keys: list[str] | None = None) -> bool:
def check_if_part_exists_in_parts(
parts: list[PartType], part: PartType, excluded_keys: list[str] | None = None
) -> bool:
"""
Check if a part exists in a list of parts
Handles both camelCase and snake_case key variations (e.g., function_call vs functionCall)