1
0
mirror of https://github.com/darkzoul5/YoutubePlaylistSync.git synced 2026-07-01 19:47:01 +03:00

lint: fix all ruff errorrs

This commit is contained in:
2026-05-17 12:09:58 +03:00
parent 65b2d4f89c
commit 9d19beec08
6 changed files with 3 additions and 8 deletions
-1
View File
@@ -45,7 +45,6 @@ def main(argv: list[str] | None = None) -> int:
print(f"START: {vid}{target}")
async def on_completed(payload):
pid = payload.get("playlist_id")
vid = payload.get("video_id")
target = payload.get("target")
print(f"OK: {vid}{target}")
+1 -1
View File
@@ -3,7 +3,7 @@ from __future__ import annotations
import json
import os
from pathlib import Path
from typing import Any, Dict, List, Optional
from typing import Any, Dict, List
def _default_ffmpeg_path() -> str:
+1 -1
View File
@@ -1,7 +1,7 @@
from __future__ import annotations
from pathlib import Path
from typing import Iterable, List, Sequence
from typing import List, Sequence
from ..models import FilesystemEntry
-3
View File
@@ -1,8 +1,5 @@
from __future__ import annotations
from dataclasses import dataclass
ILLEGAL_CHARS = '<>:"/\\|?*'
+1 -1
View File
@@ -4,7 +4,7 @@ import asyncio
import threading
from dataclasses import dataclass
from pathlib import Path
from typing import Any, Dict, Optional
from typing import Any, Dict
from PySide6 import QtCore
-1
View File
@@ -2,7 +2,6 @@ from __future__ import annotations
import asyncio
import sys
from pathlib import Path
from app.core.download.downloader import Downloader
from app.core.download.queue_manager import DownloadJob