Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-05-08 12:24:11 +03:00
parent 85dcec564a
commit 6494746317

View file

@ -76,9 +76,7 @@ class Packages(Configs):
def creating_dependencies_list(self) -> None:
if not self.option_for_resolve_off:
for pkg in self.packages:
# Skip installed package when the option --skip-installed is applied.
if self.option_for_skip_installed and self.utils.is_package_installed(pkg):
continue
@ -151,7 +149,6 @@ class Packages(Configs):
def install_packages(self) -> None:
""" Install the packages. """
for package in self.binary_packages:
message: str = f'{self.cyan}Installing{self.endc}'
slack_command: str = self.installpkg
@ -212,7 +209,6 @@ class Packages(Configs):
for package in dependencies:
status: bool = True
repo_ver: str = self.data[package][0]
help_text: str = f'Package: {package} {repo_ver}'
installed: str = self.utils.is_package_installed(package)
@ -228,7 +224,6 @@ class Packages(Configs):
text: str = f'There are {len(choices)} dependencies:'
code, tags = self.dialogbox.checklist(text, dependencies, title, height,
width, list_height, choices)
if not code:
return dependencies