Skip to content

Commit bb229f4

Browse files
committed
lint
1 parent d3bee2c commit bb229f4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/compas_viewer/components/treeform.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def __init__(
8989

9090
def update(self):
9191
"""Update the tree widget display with the current tree data.
92-
92+
9393
This method clears the existing tree widget items and rebuilds the display
9494
based on the current tree structure, applying column mappings and background
9595
colors as configured.
@@ -117,12 +117,12 @@ def update(self):
117117

118118
def tree_from_dict(self, data):
119119
"""Create a tree structure from a dictionary.
120-
120+
121121
Parameters
122122
----------
123123
data : dict
124124
Dictionary containing the hierarchical data to convert to a tree.
125-
125+
126126
Returns
127127
-------
128128
Tree
@@ -153,10 +153,10 @@ def add_children(key, data, parent):
153153

154154
def update_from_dict(self, data):
155155
"""Update the tree display from a dictionary structure.
156-
156+
157157
This is a convenience method that converts dictionary data to a tree
158158
and updates the display in one step.
159-
159+
160160
Parameters
161161
----------
162162
data : dict
@@ -167,7 +167,7 @@ def update_from_dict(self, data):
167167

168168
def on_item_selection_changed(self):
169169
"""Handle tree item selection changes.
170-
170+
171171
This method is called when the selection in the tree widget changes.
172172
It calls the action function (if provided) with the selected node as argument.
173173
"""

0 commit comments

Comments
 (0)