Fixed D401,D200,D210

This commit is contained in:
Dimitris Zlatanidis 2024-05-22 17:22:33 +03:00
parent 478f3a1b11
commit ee445845fe

View file

@ -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.