🚨 Lint Fixes

This commit is contained in:
Nikhil Badyal
2025-06-25 09:27:00 +05:30
committed by Nikhil Badyal
parent d2347f34bf
commit c436c4bc98
5 changed files with 9 additions and 11 deletions
+4 -4
View File
@@ -63,8 +63,8 @@ class APP(object):
download_cache: dict[tuple[str, str], tuple[str, str]],
) -> None:
"""Download apk to be patched, skipping if already downloaded (matching source and version)."""
from src.downloader.download import Downloader
from src.downloader.factory import DownloaderFactory
from src.downloader.download import Downloader # noqa: PLC0415
from src.downloader.factory import DownloaderFactory # noqa: PLC0415
if self.download_dl:
logger.info("Downloading apk to be patched using provided dl")
@@ -137,12 +137,12 @@ class APP(object):
-------
tuple of strings, which is the tag,file name of the downloaded file.
"""
from src.downloader.download import Downloader
from src.downloader.download import Downloader # noqa: PLC0415
url = url.strip()
tag = "latest"
if url.startswith("https://github"):
from src.downloader.github import Github
from src.downloader.github import Github # noqa: PLC0415
tag, url = Github.patch_resource(url, assets_filter, config)
if tag.startswith("tags/"):