Fixed D401

This commit is contained in:
Dimitris Zlatanidis 2024-05-22 17:25:31 +03:00
parent dff51401c1
commit 6b18e56057

View file

@ -15,7 +15,7 @@ from slpkg.views.views import View
class Downloader(Configs): # pylint: disable=[R0902]
"""Downloads the sources using external tools."""
"""Download the sources using external tools."""
def __init__(self, flags: list):
super(Configs, self).__init__()
@ -41,7 +41,7 @@ class Downloader(Configs): # pylint: disable=[R0902]
('-P', '--parallel'), flags)
def download(self, sources: dict) -> None:
"""Starting the processing for downloading."""
"""Start the process for downloading."""
if self.parallel_downloads or self.option_for_parallel:
self.parallel_download(sources)
else:
@ -114,7 +114,7 @@ class Downloader(Configs): # pylint: disable=[R0902]
self.downloader_command: str = f'{self.downloader} {self.lftp_get_options} {url} -o {path}'
def check_if_downloaded(self, url: str, path: Path) -> None:
"""Checking if file downloaded.
"""Check for downloaded.
Args:
url (str): URL link.