chore: ruff format
This commit is contained in:
@@ -197,7 +197,11 @@ def configure_contacts_tools(mcp: FastMCP):
|
|||||||
hay_parts: list[str] = []
|
hay_parts: list[str] = []
|
||||||
if contact.fn:
|
if contact.fn:
|
||||||
hay_parts.append(contact.fn.lower())
|
hay_parts.append(contact.fn.lower())
|
||||||
nickname = contact.custom_fields.get("nickname") if contact.custom_fields else None
|
nickname = (
|
||||||
|
contact.custom_fields.get("nickname")
|
||||||
|
if contact.custom_fields
|
||||||
|
else None
|
||||||
|
)
|
||||||
if nickname:
|
if nickname:
|
||||||
hay_parts.append(str(nickname).lower())
|
hay_parts.append(str(nickname).lower())
|
||||||
for e in contact.emails:
|
for e in contact.emails:
|
||||||
|
|||||||
Reference in New Issue
Block a user