mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Fixed D401
This commit is contained in:
parent
dff51401c1
commit
6b18e56057
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue