mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-24 19:38:36 +09:00
🚨 Lint Fixes
This commit is contained in:
committed by
Nikhil Badyal
parent
1c4750d2e2
commit
451361148a
+3
-3
@@ -31,7 +31,7 @@ class ScrapingError(BuilderError):
|
||||
url (str, optional): The URL of the failed icon scraping. Defaults to None.
|
||||
"""
|
||||
super().__init__(*args)
|
||||
self.url = kwargs.get("url", None)
|
||||
self.url = kwargs.get("url")
|
||||
|
||||
def __str__(self: Self) -> str:
|
||||
"""Exception message."""
|
||||
@@ -68,7 +68,7 @@ class DownloadError(BuilderError):
|
||||
url (str, optional): The URL of the failed icon scraping. Defaults to None.
|
||||
"""
|
||||
super().__init__(*args)
|
||||
self.url = kwargs.get("url", None)
|
||||
self.url = kwargs.get("url")
|
||||
|
||||
def __str__(self: Self) -> str:
|
||||
"""Exception message."""
|
||||
@@ -125,7 +125,7 @@ class PatchesJsonLoadError(BuilderError):
|
||||
file_name (str, optional): The name of json file. Defaults to None.
|
||||
"""
|
||||
super().__init__(*args)
|
||||
self.file_name = kwargs.get("file_name", None)
|
||||
self.file_name = kwargs.get("file_name")
|
||||
|
||||
def __str__(self: Self) -> str:
|
||||
"""Exception message."""
|
||||
|
||||
Reference in New Issue
Block a user