Fixed for type hints

This commit is contained in:
Dimitris Zlatanidis 2024-04-22 17:29:32 +03:00
parent 5af8e7a2bd
commit 4f55c24234

View file

@ -1,6 +1,8 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# mypy: disable-error-code="no-redef"
from slpkg.configs import Configs
from slpkg.utilities import Utilities
from slpkg.views.asciibox import AsciiBox
@ -56,8 +58,8 @@ class Tracking(Configs):
self.view_summary_of_tracking(package)
def view_the_title(self) -> None:
print(f"The list below shows the packages with dependencies:\n")
self.packages: tuple = tuple(self.utils.apply_package_pattern(self.data, self.packages))
print("The list below shows the packages with dependencies:\n")
self.packages: list = self.utils.apply_package_pattern(self.data, self.packages)
def view_the_main_package(self) -> None:
print(self.package_line)