mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 20:08:36 +09:00
🚨 Updated lints (#308)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
"""APK Pure Downloader Class."""
|
||||
from typing import Any, Tuple
|
||||
from typing import Any, Self, Tuple
|
||||
|
||||
from src.app import APP
|
||||
from src.downloader.download import Downloader
|
||||
@@ -8,9 +8,8 @@ from src.downloader.download import Downloader
|
||||
class ApkPure(Downloader):
|
||||
"""Files downloader."""
|
||||
|
||||
def latest_version(self, app: APP, **kwargs: Any) -> Tuple[str, str]:
|
||||
"""Function to download whatever the latest version of app from
|
||||
apkmirror.
|
||||
def latest_version(self: Self, app: APP, **kwargs: Any) -> Tuple[str, str]:
|
||||
"""Function to download whatever the latest version of app from apkmirror.
|
||||
|
||||
:param app: Name of the application
|
||||
:return: Version of downloaded apk
|
||||
|
||||
Reference in New Issue
Block a user