diff --git a/slpkg/tracking.py b/slpkg/tracking.py index 707bb8e1..6eace454 100644 --- a/slpkg/tracking.py +++ b/slpkg/tracking.py @@ -58,29 +58,29 @@ class Tracking(Configs): # pylint: disable=[R0902] self.view_summary_of_tracking(package) def view_the_title(self) -> None: - """Prints the title.""" + """Print the title.""" 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: - """Prints the main package.""" + """Print the main package.""" print(self.package_line) print(f"{'':>1}{self.llc}{self.hl}", end='') def view_requires(self) -> None: - """Prints the requires.""" + """Print the requires.""" if self.count_requires == 1: print(f"{'':>1}{self.require_line}") else: print(f"{'':>4}{self.require_line}") def view_no_dependencies(self) -> None: - """Prints the message 'No dependencies'.""" + """Print the message 'No dependencies'.""" if not self.package_requires: print(f"{'':>1}{self.cyan}No dependencies{self.endc}") def set_the_package_line(self, package: str) -> None: - """Sets for package line. + """Set for package line. Args: package (str): Package name. @@ -91,7 +91,7 @@ class Tracking(Configs): # pylint: disable=[R0902] self.package_line: str = f'{self.yellow}{package} {self.package_version}{self.endc}' def set_the_package_require_line(self, require: str) -> None: - """Sets the requires. + """Set the requires. Args: require (str): Require name. @@ -108,7 +108,7 @@ class Tracking(Configs): # pylint: disable=[R0902] f'{self.package_dependency_version}') def set_package_dependency_version(self, require: str) -> None: - """Sets the dependency version. + """Set the dependency version. Args: require (str): Description @@ -120,7 +120,7 @@ class Tracking(Configs): # pylint: disable=[R0902] ) def set_package_version(self, package: str) -> None: - """Sets the main package version. + """Set the main package version. Args: package (str): Package name. @@ -128,12 +128,11 @@ class Tracking(Configs): # pylint: disable=[R0902] self.package_version: str = self.data[package]['version'] def set_package_requires(self, package: str) -> None: - """Sets for the package require. + """Set for the package require. Args: package (str): Package name. """ - if self.repository not in [self.repos.sbo_repo_name, self.repos.ponce_repo_name]: self.package_requires: list = list(Required(self.data, package, self.flags).resolve()) else: @@ -148,7 +147,7 @@ class Tracking(Configs): # pylint: disable=[R0902] self.require_length: int = max(len(name) for name in self.package_requires) def view_summary_of_tracking(self, package: str) -> None: - """Prints the summary. + """Print the summary. Args: package (str): Package name.