File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -277,5 +277,5 @@ def _build_reactable(
277277
278278 # Enable pagination for sub rows
279279 reactable_args ["paginate_sub_rows" ] = True
280-
281- return Reactable (** reactable_args ) # pyre-ignore[6]: External library type definition issue
280+ # pyre-ignore[6]: External library type definition issue
281+ return Reactable (** reactable_args )
Original file line number Diff line number Diff line change @@ -89,13 +89,11 @@ def get_width_list(self, count: int) -> list[int | None]:
8989 List of width values or None values
9090 """
9191 if self .width is None :
92- return [ # pyre-ignore[7]: List[None] is compatible with List[Optional[int]]
93- None
94- ] * count
92+ # pyre-ignore[7]: List[int] is compatible with List[Optional[int]]
93+ return [None ] * count
9594 if isinstance (self .width , int ):
96- return [ # pyre-ignore[7]: List[int] is compatible with List[Optional[int]]
97- self .width
98- ] * count
95+ # pyre-ignore[7]: List[int] is compatible with List[Optional[int]]
96+ return [self .width ] * count
9997 # Ensure list has correct length
10098 result : list [int | None ] = list (self .width )
10199 if len (result ) < count :
You can’t perform that action at this time.
0 commit comments