mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Fixed D401,D210
This commit is contained in:
parent
9d0992e2fd
commit
32754b4a54
1 changed files with 6 additions and 6 deletions
|
@ -225,7 +225,7 @@ class View(Configs): # pylint: disable=[R0902]
|
|||
self.ascii.draw_package_line(package, version, size, self.red, repository)
|
||||
|
||||
def summary(self, package: str) -> None:
|
||||
"""Counts packages per method.
|
||||
"""Count packages per method.
|
||||
|
||||
Args:
|
||||
package (str): Package name.
|
||||
|
@ -254,7 +254,7 @@ class View(Configs): # pylint: disable=[R0902]
|
|||
self.sum_remove += 1
|
||||
|
||||
def set_summary_for_build(self, packages: list) -> None:
|
||||
"""Sets summary message for build.
|
||||
"""Set summary message for build.
|
||||
|
||||
Args:
|
||||
packages (list): List of packages.
|
||||
|
@ -264,7 +264,7 @@ class View(Configs): # pylint: disable=[R0902]
|
|||
f'will be build in {self.tmp_path} folder.{self.endc}')
|
||||
|
||||
def set_summary_for_install_and_upgrade(self, install: int, upgrade: int, size_comp: int, size_uncomp: int) -> None:
|
||||
"""Sets summary for install or upgrade.
|
||||
"""Set summary for install or upgrade.
|
||||
|
||||
Args:
|
||||
install (int): Counts for installs.
|
||||
|
@ -290,7 +290,7 @@ class View(Configs): # pylint: disable=[R0902]
|
|||
self.summary_message: str = f'{total_packages}{split_message}{total_sizes}{custom_message}{upgrade_message}'
|
||||
|
||||
def set_summary_for_remove(self, remove: int, size_rmv: int) -> None:
|
||||
"""Sets summary for removes.
|
||||
"""Set summary for removes.
|
||||
|
||||
Args:
|
||||
remove (int): Counts of removes.
|
||||
|
@ -302,7 +302,7 @@ class View(Configs): # pylint: disable=[R0902]
|
|||
f'of space will be freed up.{self.endc}')
|
||||
|
||||
def set_summary_for_download(self, packages: list, size_comp: int) -> None:
|
||||
"""Sets summary for downloads.
|
||||
"""Set summary for downloads.
|
||||
|
||||
Args:
|
||||
packages (list): List of packages.
|
||||
|
@ -313,7 +313,7 @@ class View(Configs): # pylint: disable=[R0902]
|
|||
f'will be downloaded in {self.download_only} folder.{self.endc}')
|
||||
|
||||
def build_package_and_version(self, package: str) -> str:
|
||||
""" Builds package and version.
|
||||
"""Build package and version.
|
||||
|
||||
Args:
|
||||
package (str): Package name.
|
||||
|
|
Loading…
Reference in a new issue