Skip to content

Commit 44bdb47

Browse files
chores: format document with ruff
1 parent 7264486 commit 44bdb47

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ontograph/queries/relations.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ def is_sibling(self, nodeA: str, nodeB: str) -> bool:
101101
logger.error(f'Error checking sibling relationship: {e}')
102102
raise
103103

104-
def _get_distance_to_ancestor(self, node: str, ancestor: str) -> int | float:
104+
def _get_distance_to_ancestor(
105+
self, node: str, ancestor: str
106+
) -> int | float:
105107
"""Calculate the shortest distance from a node to a specified ancestor.
106108
107109
Args:

0 commit comments

Comments
 (0)