File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,10 +209,10 @@ def showModDetectionDialog(self) -> set[int] | None:
209209 selectButtons = QHBoxLayout ()
210210 selectAllButton = QPushButton ("Select All" )
211211 selectNoneButton = QPushButton ("Select None" )
212- selectAllButton .clicked .connect ( # type: ignore # type: ignore
212+ selectAllButton .clicked .connect ( # type: ignore # type: ignore
213213 lambda : self .setDialogSelection (listWidget , True )
214214 )
215- selectNoneButton .clicked .connect ( # type: ignore # type: ignore
215+ selectNoneButton .clicked .connect ( # type: ignore # type: ignore
216216 lambda : self .setDialogSelection (listWidget , False )
217217 )
218218 selectButtons .addWidget (selectAllButton )
@@ -338,7 +338,10 @@ def collectModCandidates(
338338 if category == "Root" :
339339 candidate_entries : list [mobase .FileTreeEntry ] = []
340340 for root_entry in entries :
341- if isinstance (root_entry , mobase .IFileTree ) and root_entry .isDir ():
341+ if (
342+ isinstance (root_entry , mobase .IFileTree )
343+ and root_entry .isDir ()
344+ ):
342345 candidate_entries .extend (list (root_entry ))
343346 else :
344347 candidate_entries .append (root_entry )
Original file line number Diff line number Diff line change @@ -248,10 +248,10 @@ def showModDetectionDialog(self) -> set[int] | None:
248248 selectButtons = QHBoxLayout ()
249249 selectAllButton = QPushButton ("Select All" )
250250 selectNoneButton = QPushButton ("Select None" )
251- selectAllButton .clicked .connect ( # type: ignore
251+ selectAllButton .clicked .connect ( # type: ignore
252252 lambda : self .setDialogSelection (listWidget , True )
253253 ) # type: ignore
254- selectNoneButton .clicked .connect ( # type: ignore
254+ selectNoneButton .clicked .connect ( # type: ignore
255255 lambda : self .setDialogSelection (listWidget , False )
256256 ) # type: ignore
257257 selectButtons .addWidget (selectAllButton )
@@ -383,7 +383,10 @@ def collectModCandidates(
383383 if group_category == "Root" :
384384 candidate_entries : list [mobase .FileTreeEntry ] = []
385385 for root_entry in entries :
386- if isinstance (root_entry , mobase .IFileTree ) and root_entry .isDir ():
386+ if (
387+ isinstance (root_entry , mobase .IFileTree )
388+ and root_entry .isDir ()
389+ ):
387390 candidate_entries .extend (list (root_entry ))
388391 else :
389392 candidate_entries .append (root_entry )
Original file line number Diff line number Diff line change @@ -209,10 +209,10 @@ def showModDetectionDialog(self) -> set[int] | None:
209209 selectButtons = QHBoxLayout ()
210210 selectAllButton = QPushButton ("Select All" )
211211 selectNoneButton = QPushButton ("Select None" )
212- selectAllButton .clicked .connect ( # type: ignore # type: ignore
212+ selectAllButton .clicked .connect ( # type: ignore # type: ignore
213213 lambda : self .setDialogSelection (listWidget , True )
214214 )
215- selectNoneButton .clicked .connect ( # type: ignore # type: ignore
215+ selectNoneButton .clicked .connect ( # type: ignore # type: ignore
216216 lambda : self .setDialogSelection (listWidget , False )
217217 )
218218 selectButtons .addWidget (selectAllButton )
@@ -338,7 +338,10 @@ def collectModCandidates(
338338 if category == "Root" :
339339 candidate_entries : list [mobase .FileTreeEntry ] = []
340340 for root_entry in entries :
341- if isinstance (root_entry , mobase .IFileTree ) and root_entry .isDir ():
341+ if (
342+ isinstance (root_entry , mobase .IFileTree )
343+ and root_entry .isDir ()
344+ ):
342345 candidate_entries .extend (list (root_entry ))
343346 else :
344347 candidate_entries .append (root_entry )
Original file line number Diff line number Diff line change @@ -209,10 +209,10 @@ def showModDetectionDialog(self) -> set[int] | None:
209209 selectButtons = QHBoxLayout ()
210210 selectAllButton = QPushButton ("Select All" )
211211 selectNoneButton = QPushButton ("Select None" )
212- selectAllButton .clicked .connect ( # type: ignore # type: ignore
212+ selectAllButton .clicked .connect ( # type: ignore # type: ignore
213213 lambda : self .setDialogSelection (listWidget , True )
214214 )
215- selectNoneButton .clicked .connect ( # type: ignore # type: ignore
215+ selectNoneButton .clicked .connect ( # type: ignore # type: ignore
216216 lambda : self .setDialogSelection (listWidget , False )
217217 )
218218 selectButtons .addWidget (selectAllButton )
@@ -338,7 +338,10 @@ def collectModCandidates(
338338 if category == "Root" :
339339 candidate_entries : list [mobase .FileTreeEntry ] = []
340340 for root_entry in entries :
341- if isinstance (root_entry , mobase .IFileTree ) and root_entry .isDir ():
341+ if (
342+ isinstance (root_entry , mobase .IFileTree )
343+ and root_entry .isDir ()
344+ ):
342345 candidate_entries .extend (list (root_entry ))
343346 else :
344347 candidate_entries .append (root_entry )
Original file line number Diff line number Diff line change @@ -209,10 +209,10 @@ def showModDetectionDialog(self) -> set[int] | None:
209209 selectButtons = QHBoxLayout ()
210210 selectAllButton = QPushButton ("Select All" )
211211 selectNoneButton = QPushButton ("Select None" )
212- selectAllButton .clicked .connect ( # type: ignore # type: ignore
212+ selectAllButton .clicked .connect ( # type: ignore # type: ignore
213213 lambda : self .setDialogSelection (listWidget , True )
214214 )
215- selectNoneButton .clicked .connect ( # type: ignore # type: ignore
215+ selectNoneButton .clicked .connect ( # type: ignore # type: ignore
216216 lambda : self .setDialogSelection (listWidget , False )
217217 )
218218 selectButtons .addWidget (selectAllButton )
@@ -338,7 +338,10 @@ def collectModCandidates(
338338 if category == "Root" :
339339 candidate_entries : list [mobase .FileTreeEntry ] = []
340340 for root_entry in entries :
341- if isinstance (root_entry , mobase .IFileTree ) and root_entry .isDir ():
341+ if (
342+ isinstance (root_entry , mobase .IFileTree )
343+ and root_entry .isDir ()
344+ ):
342345 candidate_entries .extend (list (root_entry ))
343346 else :
344347 candidate_entries .append (root_entry )
Original file line number Diff line number Diff line change @@ -222,10 +222,10 @@ def showModDetectionDialog(self) -> set[int] | None:
222222 selectButtons = QHBoxLayout ()
223223 selectAllButton = QPushButton ("Select All" )
224224 selectNoneButton = QPushButton ("Select None" )
225- selectAllButton .clicked .connect ( # type: ignore # type: ignore
225+ selectAllButton .clicked .connect ( # type: ignore # type: ignore
226226 lambda : self .setDialogSelection (listWidget , True )
227227 ) # type: ignore
228- selectNoneButton .clicked .connect ( # type: ignore
228+ selectNoneButton .clicked .connect ( # type: ignore
229229 lambda : self .setDialogSelection (listWidget , False )
230230 ) # type: ignore
231231 selectButtons .addWidget (selectAllButton )
@@ -351,7 +351,10 @@ def collectModCandidates(
351351 if category == "Root" :
352352 candidate_entries : list [mobase .FileTreeEntry ] = []
353353 for root_entry in entries :
354- if isinstance (root_entry , mobase .IFileTree ) and root_entry .isDir ():
354+ if (
355+ isinstance (root_entry , mobase .IFileTree )
356+ and root_entry .isDir ()
357+ ):
355358 candidate_entries .extend (list (root_entry ))
356359 else :
357360 candidate_entries .append (root_entry )
Original file line number Diff line number Diff line change @@ -209,10 +209,10 @@ def showModDetectionDialog(self) -> set[int] | None:
209209 selectButtons = QHBoxLayout ()
210210 selectAllButton = QPushButton ("Select All" )
211211 selectNoneButton = QPushButton ("Select None" )
212- selectAllButton .clicked .connect ( # type: ignore # type: ignore
212+ selectAllButton .clicked .connect ( # type: ignore # type: ignore
213213 lambda : self .setDialogSelection (listWidget , True )
214214 )
215- selectNoneButton .clicked .connect ( # type: ignore # type: ignore
215+ selectNoneButton .clicked .connect ( # type: ignore # type: ignore
216216 lambda : self .setDialogSelection (listWidget , False )
217217 )
218218 selectButtons .addWidget (selectAllButton )
@@ -338,7 +338,10 @@ def collectModCandidates(
338338 if category == "Root" :
339339 candidate_entries : list [mobase .FileTreeEntry ] = []
340340 for root_entry in entries :
341- if isinstance (root_entry , mobase .IFileTree ) and root_entry .isDir ():
341+ if (
342+ isinstance (root_entry , mobase .IFileTree )
343+ and root_entry .isDir ()
344+ ):
342345 candidate_entries .extend (list (root_entry ))
343346 else :
344347 candidate_entries .append (root_entry )
Original file line number Diff line number Diff line change @@ -209,10 +209,10 @@ def showModDetectionDialog(self) -> set[int] | None:
209209 selectButtons = QHBoxLayout ()
210210 selectAllButton = QPushButton ("Select All" )
211211 selectNoneButton = QPushButton ("Select None" )
212- selectAllButton .clicked .connect ( # type: ignore # type: ignore
212+ selectAllButton .clicked .connect ( # type: ignore # type: ignore
213213 lambda : self .setDialogSelection (listWidget , True )
214214 )
215- selectNoneButton .clicked .connect ( # type: ignore # type: ignore
215+ selectNoneButton .clicked .connect ( # type: ignore # type: ignore
216216 lambda : self .setDialogSelection (listWidget , False )
217217 )
218218 selectButtons .addWidget (selectAllButton )
@@ -338,7 +338,10 @@ def collectModCandidates(
338338 if category == "Root" :
339339 candidate_entries : list [mobase .FileTreeEntry ] = []
340340 for root_entry in entries :
341- if isinstance (root_entry , mobase .IFileTree ) and root_entry .isDir ():
341+ if (
342+ isinstance (root_entry , mobase .IFileTree )
343+ and root_entry .isDir ()
344+ ):
342345 candidate_entries .extend (list (root_entry ))
343346 else :
344347 candidate_entries .append (root_entry )
Original file line number Diff line number Diff line change @@ -209,10 +209,10 @@ def showModDetectionDialog(self) -> set[int] | None:
209209 selectButtons = QHBoxLayout ()
210210 selectAllButton = QPushButton ("Select All" )
211211 selectNoneButton = QPushButton ("Select None" )
212- selectAllButton .clicked .connect ( # type: ignore # type: ignore
212+ selectAllButton .clicked .connect ( # type: ignore # type: ignore
213213 lambda : self .setDialogSelection (listWidget , True )
214214 )
215- selectNoneButton .clicked .connect ( # type: ignore # type: ignore
215+ selectNoneButton .clicked .connect ( # type: ignore # type: ignore
216216 lambda : self .setDialogSelection (listWidget , False )
217217 )
218218 selectButtons .addWidget (selectAllButton )
@@ -338,7 +338,10 @@ def collectModCandidates(
338338 if category == "Root" :
339339 candidate_entries : list [mobase .FileTreeEntry ] = []
340340 for root_entry in entries :
341- if isinstance (root_entry , mobase .IFileTree ) and root_entry .isDir ():
341+ if (
342+ isinstance (root_entry , mobase .IFileTree )
343+ and root_entry .isDir ()
344+ ):
342345 candidate_entries .extend (list (root_entry ))
343346 else :
344347 candidate_entries .append (root_entry )
Original file line number Diff line number Diff line change @@ -209,10 +209,10 @@ def showModDetectionDialog(self) -> set[int] | None:
209209 selectButtons = QHBoxLayout ()
210210 selectAllButton = QPushButton ("Select All" )
211211 selectNoneButton = QPushButton ("Select None" )
212- selectAllButton .clicked .connect ( # type: ignore # type: ignore
212+ selectAllButton .clicked .connect ( # type: ignore # type: ignore
213213 lambda : self .setDialogSelection (listWidget , True )
214214 )
215- selectNoneButton .clicked .connect ( # type: ignore # type: ignore
215+ selectNoneButton .clicked .connect ( # type: ignore # type: ignore
216216 lambda : self .setDialogSelection (listWidget , False )
217217 )
218218 selectButtons .addWidget (selectAllButton )
@@ -338,7 +338,10 @@ def collectModCandidates(
338338 if category == "Root" :
339339 candidate_entries : list [mobase .FileTreeEntry ] = []
340340 for root_entry in entries :
341- if isinstance (root_entry , mobase .IFileTree ) and root_entry .isDir ():
341+ if (
342+ isinstance (root_entry , mobase .IFileTree )
343+ and root_entry .isDir ()
344+ ):
342345 candidate_entries .extend (list (root_entry ))
343346 else :
344347 candidate_entries .append (root_entry )
You can’t perform that action at this time.
0 commit comments