From ee445845feb773c6ee074f0535a27a812e7ca06f Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 22 May 2024 17:22:33 +0300 Subject: [PATCH] Fixed D401,D200,D210 --- slpkg/find_installed.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/slpkg/find_installed.py b/slpkg/find_installed.py index 3ce4d22f..0bcdb667 100644 --- a/slpkg/find_installed.py +++ b/slpkg/find_installed.py @@ -32,11 +32,11 @@ class FindInstalled(Configs): @staticmethod def view_title() -> None: - """Prints the title.""" + """Print the title.""" print('The list below shows the installed packages:\n') def view_matched_packages(self) -> None: - """Prints the matching packages.""" + """Print the matching packages.""" if self.matching: for package in self.matching: name: str = self.utils.split_package(package)['name'] @@ -49,13 +49,12 @@ class FindInstalled(Configs): print('\nDoes not match any package.\n') def view_summary(self) -> None: - """ Prints the summary. - """ + """Print the summary.""" print(f'\n{self.grey}Total found {len(self.matching)} packages with ' f'{self.utils.convert_file_sizes(self.total_size)} size.{self.endc}') def is_not_case_sensitive(self, package: str, name: str) -> bool: - """Checks for case sensitive. + """Check for case sensitive. Args: package (str): Package file.