Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 28, 2024
1 parent 802977b commit b76ae01
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions qtribu/gui/dlg_contents.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from functools import partial
from pathlib import Path
from typing import Callable, Dict, List

Expand Down Expand Up @@ -69,7 +68,12 @@ def __init__(self, parent: QWidget = None):

# tree widget initialization
self.contents_tree_widget.setHeaderLabels(
[self.tr("Date"), self.tr("Title"), self.tr("Author(s)"), self.tr("Categories")]
[
self.tr("Date"),
self.tr("Title"),
self.tr("Author(s)"),
self.tr("Categories"),
]
)
self.contents_tree_widget.itemClicked.connect(self.on_tree_view_item_click)

Expand Down Expand Up @@ -220,7 +224,7 @@ def _build_tree_widget_item_from_content(content: RssItem) -> QTreeWidgetItem:
content.title,
",".join(content.author),
",".join(content.categories),
content.url
content.url,
]
)
for i in range(4):
Expand Down

0 comments on commit b76ae01

Please sign in to comment.