ruff: enable RUF lint

This commit is contained in:
Marcel Hellwig
2026-01-04 14:46:18 +01:00
parent a7bb5e1e04
commit 1857cf501c
12 changed files with 71 additions and 55 deletions

View File

@@ -1,6 +1,6 @@
import sys
sys.path = ["", ".."] + sys.path[1:]
sys.path = ["", "..", *sys.path[1:]]
from logging.config import fileConfig # noqa: E402
@@ -46,19 +46,19 @@ target_metadata = Base.metadata
# this is to keep pycharm from complaining about/optimizing unused imports
# noinspection PyStatementEffect
__all__ = [
"User",
"OAuthAccount",
"IndexerQueryResult",
"Torrent",
"Show",
"Season",
"Episode",
"SeasonFile",
"SeasonRequest",
"IndexerQueryResult",
"Movie",
"MovieFile",
"MovieRequest",
"Notification",
"OAuthAccount",
"Season",
"SeasonFile",
"SeasonRequest",
"Show",
"Torrent",
"User",
]