Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2024-04-04 13:01:49 +03:00
parent a8ef2a2e33
commit 1e579055cf

View file

@ -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: