Skip to content

Commit

Permalink
Columns: black formatting (#4545)
Browse files Browse the repository at this point in the history
  • Loading branch information
elParaguayo committed Oct 25, 2023
1 parent eb6310a commit 1e0f09f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libqtile/layout/columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def remove_column(self, col):
def add_client(self, client: Window) -> None:
c = self.cc
if len(c) > 0 and len(self.columns) < self.num_columns:
prepend = (self.align is Columns._left)
prepend = self.align is Columns._left
c = self.add_column(prepend=prepend)
if self.fair:
least = min(self.columns, key=len)
Expand Down
4 changes: 1 addition & 3 deletions test/layouts/test_columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ class ColumnsLeftAlign(ColumnsConfig):
columns_single_border_enabled_config = pytest.mark.parametrize(
"manager", [ColumnsSingleBorderEnabledConfig], indirect=True
)
columns_left_align = pytest.mark.parametrize(
"manager", [ColumnsLeftAlign], indirect=True
)
columns_left_align = pytest.mark.parametrize("manager", [ColumnsLeftAlign], indirect=True)


# This currently only tests the window focus cycle
Expand Down

0 comments on commit 1e0f09f

Please sign in to comment.