From 1e579055cfc6518b74f24ada031c973c54ef2a8e Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 4 Apr 2024 13:01:49 +0300 Subject: [PATCH] Updated for coding style --- slpkg/choose_packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slpkg/choose_packages.py b/slpkg/choose_packages.py index 8eae58ba..f66e5ada 100644 --- a/slpkg/choose_packages.py +++ b/slpkg/choose_packages.py @@ -58,7 +58,7 @@ class Choose(Configs): if pkg in name or pkg == '*': self.choices.extend([(name, version, False, f'Package: {package}')]) - def choose_for_upgraded(self, data: dict, packages: list): + def choose_for_upgraded(self, data: dict, packages: list) -> None: """ Choose packages that they will going to upgrade. """ for package in packages: @@ -80,7 +80,7 @@ class Choose(Configs): f'Installed: {package}-{inst_package_version} Build: {inst_package_build} -> ' f'Available: {repo_ver} Build: {repo_build_tag}')]) - def choose_for_others(self, data: dict, packages: list): + def choose_for_others(self, data: dict, packages: list) -> None: """ Choose packages for others methods like install, tracking etc. """ if self.repository == '*': for pkg in packages: