diff --git a/slpkg/main.py b/slpkg/main.py index 40812866..4ff33451 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -87,7 +87,7 @@ class Argparse: raise SystemExit("\nError: You should enable the dialog " "in the '/etc/slpkg/' folder.\n") - def check_for_flags(self, command): + def check_for_flags(self, command: str): """ Check for correct flags. """ commands = { @@ -164,7 +164,7 @@ class Argparse: if opt not in flags and opt not in ['--help', '--version']: self.usage.error_for_options(flags) - def choose_packages(self, packages, method): + def choose_packages(self, packages: list, method: str): """ Choose packages with dialog utility and --search flag. """ height = 10 width = 70