mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🌱 Updated linter
This commit is contained in:
committed by
Nikhil Badyal
parent
e533912ccf
commit
1366c6c663
@@ -1,5 +1,5 @@
|
||||
"""Google Drive downloader Class."""
|
||||
from typing import Any, Self, Tuple
|
||||
from typing import Any, Self
|
||||
|
||||
import gdown
|
||||
|
||||
@@ -10,7 +10,7 @@ from src.downloader.download import Downloader
|
||||
class GoogleDrive(Downloader):
|
||||
"""Google Driver downloader."""
|
||||
|
||||
def specific_version(self: Self, app: APP, version: str) -> Tuple[str, str]:
|
||||
def specific_version(self: Self, app: APP, version: str) -> tuple[str, str]:
|
||||
"""Function to download the specified version of app from apkmirror.
|
||||
|
||||
:param app: Name of the application
|
||||
@@ -19,7 +19,7 @@ class GoogleDrive(Downloader):
|
||||
"""
|
||||
return self.latest_version(app)
|
||||
|
||||
def latest_version(self: Self, app: APP, **kwargs: Any) -> Tuple[str, str]:
|
||||
def latest_version(self: Self, app: APP, **kwargs: Any) -> tuple[str, str]:
|
||||
"""Function to download whatever the latest version of app from Google Driver.
|
||||
|
||||
:param app: Name of the application
|
||||
|
||||
Reference in New Issue
Block a user