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:
@@ -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}")
|
||||
|
||||
@@ -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,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
|
||||
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
ILLEGAL_CHARS = '<>:"/\\|?*'
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user