🚨 Lint Fixes

This commit is contained in:
pre-commit-ci[bot]
2024-09-30 17:11:34 +00:00
committed by Nikhil Badyal
parent 1c4750d2e2
commit 451361148a
+3 -3
View File
@@ -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."""