Fixed docstrings

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-05-19 22:34:05 +03:00
parent 70535997d7
commit 7c4c685bee

View file

@ -18,11 +18,8 @@ from slpkg.sbos.sbo_generate import SBoGenerate
class UpdateRepositories(Configs): # pylint: disable=[R0902]
"""
Updates the local repositories and install the data
into the database.
"""
"""Updates the local repositories
and install the data into the database."""
def __init__(self, flags: list, repository: str):
super(Configs, self).__init__()
@ -42,8 +39,7 @@ class UpdateRepositories(Configs): # pylint: disable=[R0902]
('-y', '--yes'), flags)
def repositories(self) -> None:
""" Checks and call the repositories for update.
"""
"""Checks and call the repositories for update."""
self.repos_for_update: dict = self.check_updates.updates()
if not any(list(self.repos_for_update.values())):