diff --git a/slpkg/binary/check.py b/slpkg/binary/check.py index 5336665d..014874dd 100644 --- a/slpkg/binary/check.py +++ b/slpkg/binary/check.py @@ -65,6 +65,6 @@ def pkg_upgrade(repo, skip, flag): def installed(): - """Return all installed packages + """Returns all installed packages """ return find_package("", _meta_.pkg_path) diff --git a/slpkg/desc.py b/slpkg/desc.py index 8c81afa9..cccc1a66 100644 --- a/slpkg/desc.py +++ b/slpkg/desc.py @@ -30,7 +30,7 @@ from slpkg.sbo.greps import SBoGrep class PkgDesc(Utils): - """Print package description from the repository + """Prints package description from the repository """ def __init__(self, name, repo, paint): self.name = name @@ -51,7 +51,7 @@ class PkgDesc(Utils): self.lib = f"{self.meta.lib_path}{self.repo}_repo/PACKAGES.TXT" def view(self): - """Print package description by repository + """Prints package description by repository """ description, count = "", 0 if self.repo == "sbo": diff --git a/slpkg/dialog_box.py b/slpkg/dialog_box.py index 9a44fdb7..ddba6836 100644 --- a/slpkg/dialog_box.py +++ b/slpkg/dialog_box.py @@ -48,7 +48,7 @@ class DialogUtil: self.d = Dialog(dialog="dialog", autowidgetsize=True) def checklist(self): - """Run dialog checklist + """Runs dialog checklist """ choice = [] for item in self.data: @@ -63,7 +63,7 @@ class DialogUtil: self.exit() def buildlist(self, enabled): - """Run dialog buildlist + """Runs dialog buildlist """ choice = [] for item in self.data: @@ -81,7 +81,7 @@ class DialogUtil: self.exit() def exit(self): - """Exit from dialog + """Exits from dialog """ self.clear_screen() raise SystemExit() @@ -92,7 +92,7 @@ class DialogUtil: os.system("clear") def unicode_to_string(self): - """Convert unicode in string + """Converts unicode in string """ for tag in self.tags: self.ununicode.append(str(tag)) diff --git a/slpkg/repoenable.py b/slpkg/repoenable.py index 1cfcd333..ca25b8a2 100644 --- a/slpkg/repoenable.py +++ b/slpkg/repoenable.py @@ -101,7 +101,7 @@ Keys: SPACE select or deselect the highlighted repositories, self.tag_line = False def update_repos(self): - """Update repositories.conf file with enabled or disabled + """Updates repositories.conf file with enabled or disabled repositories """ with open(f"{self.meta.conf_path}"