Updated for typing

This commit is contained in:
Dimitris Zlatanidis 2023-05-08 12:23:03 +03:00
parent 25d1918d14
commit 85dcec564a

View file

@ -19,7 +19,6 @@ from slpkg.progress_bar import ProgressBar
from slpkg.logging_deps import LoggingDeps from slpkg.logging_deps import LoggingDeps
from slpkg.repositories import Repositories from slpkg.repositories import Repositories
from slpkg.binaries.required import Required from slpkg.binaries.required import Required
from slpkg.models.models import session as Session
class Packages(Configs): class Packages(Configs):
@ -38,7 +37,6 @@ class Packages(Configs):
self.logs_deps = LoggingDeps(repository, data) self.logs_deps = LoggingDeps(repository, data)
self.upgrade = Upgrade(repository, data) self.upgrade = Upgrade(repository, data)
self.view_message = ViewMessage(flags, repository, data) self.view_message = ViewMessage(flags, repository, data)
self.session = Session
self.stderr = None self.stderr = None
self.stdout = None self.stdout = None
@ -76,7 +74,7 @@ class Packages(Configs):
self.utils.finished_time(elapsed_time) self.utils.finished_time(elapsed_time)
def creating_dependencies_list(self): def creating_dependencies_list(self) -> None:
if not self.option_for_resolve_off: if not self.option_for_resolve_off:
for pkg in self.packages: for pkg in self.packages: