From 60029e8a56718e0aaf58102f47b1ee1b59f3929c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 05:50:06 +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 | 2 +- qtribu/logic/json_feed.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qtribu/gui/dlg_contents.py b/qtribu/gui/dlg_contents.py index 5514847b..bb1bb83e 100644 --- a/qtribu/gui/dlg_contents.py +++ b/qtribu/gui/dlg_contents.py @@ -1,5 +1,5 @@ from pathlib import Path -from typing import List, Dict +from typing import Dict, List from PyQt5.QtCore import QModelIndex, Qt, QUrl from PyQt5.QtGui import QDesktopServices, QIcon, QStandardItem, QStandardItemModel diff --git a/qtribu/logic/json_feed.py b/qtribu/logic/json_feed.py index 888bd785..fe7e3fc8 100644 --- a/qtribu/logic/json_feed.py +++ b/qtribu/logic/json_feed.py @@ -1,13 +1,13 @@ from datetime import datetime -from typing import List, Any, Dict, Optional - -from qtribu.__about__ import __title__, __version__ -from qtribu.logic import RssItem -from qtribu.toolbelt import PlgOptionsManager, PlgLogger +from typing import Any, Dict, List, Optional import requests from requests import Response +from qtribu.__about__ import __title__, __version__ +from qtribu.logic import RssItem +from qtribu.toolbelt import PlgLogger, PlgOptionsManager + HEADERS: dict = { b"Accept": b"application/json", b"User-Agent": bytes(f"{__title__}/{__version__}", "utf8"),