Fixed D401

This commit is contained in:
Dimitris Zlatanidis 2024-05-22 19:08:04 +03:00
parent 70704a105f
commit 2d1bc2b7da

View file

@ -15,7 +15,7 @@ class SBoGenerate(Configs):
self.ascii = AsciiBox()
def slackbuild_file(self, repo_path: Path, repo_slackbuild_txt: str) -> None: # pylint: disable=[R0914]
"""Creates a SLACKBUILDS.TXT file.
"""Create a SLACKBUILDS.TXT file.
Args:
repo_path (Path): Path to file.
@ -87,7 +87,7 @@ class SBoGenerate(Configs):
@staticmethod
def read_short_description(path: Path, name: str) -> str:
"""Returns the short description from slack-desc file.
"""Return the short description from slack-desc file.
Args:
path (Path): Path to file.
@ -109,7 +109,7 @@ class SBoGenerate(Configs):
@staticmethod
def read_info_file(info_file: Path, start: str, stop: str) -> list:
"""Reads the .info file and return the line between to variables.
"""Read the .info file and return the line between to variables.
Args:
info_file (Path): Slackbuild file name.