From 451361148a02b2ed44aee251ea946ecf40776194 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:11:34 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Lint=20Fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/exceptions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/exceptions.py b/src/exceptions.py index aebf5d1..8e0fc31 100644 --- a/src/exceptions.py +++ b/src/exceptions.py @@ -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."""