mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Fixed D401,D200,D210
This commit is contained in:
parent
478f3a1b11
commit
ee445845fe
1 changed files with 4 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue