@@ -212,7 +212,9 @@ def _build_all_section(self) -> None:
212
212
self .tree .heading (col , text = hd )
213
213
self .tree .column (col , width = wd )
214
214
215
- scrollbar = ttk .Scrollbar (container , orient = "vertical" , command = self .tree .yview )
215
+ scrollbar = ttk .Scrollbar (
216
+ container , orient = "vertical" , command = self .tree .yview
217
+ )
216
218
self .tree .configure (yscrollcommand = scrollbar .set )
217
219
self .tree .pack (side = "left" , fill = "both" , expand = True )
218
220
scrollbar .pack (side = "right" , fill = "y" )
@@ -232,7 +234,9 @@ def _build_selected_section(self) -> None:
232
234
self .sel_tree .heading (col , text = hd )
233
235
self .sel_tree .column (col , width = wd )
234
236
235
- scrollbar = ttk .Scrollbar (self .frame_sel , orient = "vertical" , command = self .sel_tree .yview )
237
+ scrollbar = ttk .Scrollbar (
238
+ self .frame_sel , orient = "vertical" , command = self .sel_tree .yview
239
+ )
236
240
self .sel_tree .configure (yscrollcommand = scrollbar .set )
237
241
self .sel_tree .pack (side = "left" , fill = "both" , expand = True )
238
242
scrollbar .pack (side = "right" , fill = "y" )
@@ -286,7 +290,7 @@ def update_all(self, event=None) -> None:
286
290
"" ,
287
291
"end" ,
288
292
iid = entry ["stat" ],
289
- values = (mark , entry ["id" ], entry ["stat" ], entry ["unit" ])
293
+ values = (mark , entry ["id" ], entry ["stat" ], entry ["unit" ]),
290
294
)
291
295
292
296
self .update_selected ()
@@ -310,7 +314,7 @@ def update_selected(self) -> None:
310
314
entry ["stat" ],
311
315
entry ["unit" ],
312
316
entry ["source_unit" ],
313
- )
317
+ ),
314
318
)
315
319
316
320
def update_details (self ) -> None :
@@ -330,7 +334,7 @@ def update_details(self) -> None:
330
334
"" ,
331
335
"end" ,
332
336
iid = entry ["stat" ],
333
- values = (entry ["id" ], entry ["import_id" ], cf , cn , ci )
337
+ values = (entry ["id" ], entry ["import_id" ], cf , cn , ci ),
334
338
)
335
339
any_valid = True
336
340
@@ -587,7 +591,7 @@ def _generate_sql(self) -> None:
587
591
command = lambda : (
588
592
popup .clipboard_clear (),
589
593
popup .clipboard_append (text_widget .get ("1.0" , "end-1c" )),
590
- )
594
+ ),
591
595
)
592
596
copy_button .pack (fill = "x" )
593
597
0 commit comments