From 9d0992e2fd7d870a1bd79ff5b8eb72cf69df58cf Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 22 May 2024 19:02:25 +0300 Subject: [PATCH] Fixed D401 --- slpkg/views/view_package.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slpkg/views/view_package.py b/slpkg/views/view_package.py index 8ed1470c..d3689613 100644 --- a/slpkg/views/view_package.py +++ b/slpkg/views/view_package.py @@ -69,7 +69,7 @@ class ViewPackage(Configs): # pylint: disable=[R0902] self.view_slackbuild_package(name, item) def read_the_readme_file(self, path_file: Path) -> None: - """Reads the README file. + """Read the README file. Args: 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) def read_the_info_file(self, path_info: Path) -> None: - """Reads the .info file. + """Read the .info file. Args: path_info (Path): Path to the file. @@ -120,7 +120,7 @@ class ViewPackage(Configs): # pylint: disable=[R0902] if pkg in self.repository_packages])) def view_slackbuild_package(self, name: str, item: dict) -> None: - """Prints slackbuild information. + """Print slackbuild information. Args: name (str): Slackbuild name.