Fixed D401

This commit is contained in:
Dimitris Zlatanidis 2024-05-22 19:02:25 +03:00
parent 9f12a8bd4d
commit 9d0992e2fd

View file

@ -69,7 +69,7 @@ class ViewPackage(Configs): # pylint: disable=[R0902]
self.view_slackbuild_package(name, item) self.view_slackbuild_package(name, item)
def read_the_readme_file(self, path_file: Path) -> None: def read_the_readme_file(self, path_file: Path) -> None:
"""Reads the README file. """Read the README file.
Args: Args:
path_file (Path): Path to the file. path_file (Path): Path to the file.
@ -77,7 +77,7 @@ class ViewPackage(Configs): # pylint: disable=[R0902]
self.readme: list = self.utils.read_text_file(path_file) self.readme: list = self.utils.read_text_file(path_file)
def read_the_info_file(self, path_info: Path) -> None: def read_the_info_file(self, path_info: Path) -> None:
"""Reads the .info file. """Read the .info file.
Args: Args:
path_info (Path): Path to the file. path_info (Path): Path to the file.
@ -120,7 +120,7 @@ class ViewPackage(Configs): # pylint: disable=[R0902]
if pkg in self.repository_packages])) if pkg in self.repository_packages]))
def view_slackbuild_package(self, name: str, item: dict) -> None: def view_slackbuild_package(self, name: str, item: dict) -> None:
"""Prints slackbuild information. """Print slackbuild information.
Args: Args:
name (str): Slackbuild name. name (str): Slackbuild name.