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
9f12a8bd4d
commit
9d0992e2fd
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue