From b76ae0152b22e56671740a21184144265f1d379c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 28 Apr 2024 09:38:35 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- qtribu/gui/dlg_contents.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/qtribu/gui/dlg_contents.py b/qtribu/gui/dlg_contents.py index 5e84cf1e..b76516bb 100644 --- a/qtribu/gui/dlg_contents.py +++ b/qtribu/gui/dlg_contents.py @@ -1,4 +1,3 @@ -from functools import partial from pathlib import Path from typing import Callable, Dict, List @@ -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) @@ -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):