mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Fixed D401
This commit is contained in:
parent
f62e2823f8
commit
42a3b06c46
1 changed files with 6 additions and 6 deletions
|
@ -32,7 +32,7 @@ class Dependees(Configs): # pylint: disable=[R0902]
|
|||
('-p', '--pkg-version'), flags)
|
||||
|
||||
def find(self) -> None:
|
||||
"""Calls the methods."""
|
||||
"""Call the methods."""
|
||||
print('The list below shows the packages that dependees on:\n')
|
||||
self.packages: list = self.utils.apply_package_pattern(self.data, self.packages)
|
||||
|
||||
|
@ -65,7 +65,7 @@ class Dependees(Configs): # pylint: disable=[R0902]
|
|||
yield name, data['requires']
|
||||
|
||||
def view_no_dependees(self, dependees: dict) -> None:
|
||||
"""Prints for no dependees.
|
||||
"""Print for no dependees.
|
||||
|
||||
Args:
|
||||
dependees (dict): Packages data.
|
||||
|
@ -74,7 +74,7 @@ class Dependees(Configs): # pylint: disable=[R0902]
|
|||
print(f"{'':>1}{self.cyan}No dependees{self.endc}")
|
||||
|
||||
def view_the_main_package(self, package: str) -> None:
|
||||
"""Prints the main package.
|
||||
"""Print the main package.
|
||||
|
||||
Args:
|
||||
package (str): Package name.
|
||||
|
@ -84,7 +84,7 @@ class Dependees(Configs): # pylint: disable=[R0902]
|
|||
|
||||
@staticmethod
|
||||
def view_dependency_line(n: int, dependency: str) -> None:
|
||||
"""Prints the dependency line.
|
||||
"""Print the dependency line.
|
||||
|
||||
Args:
|
||||
n (int): Line number.
|
||||
|
@ -117,7 +117,7 @@ class Dependees(Configs): # pylint: disable=[R0902]
|
|||
self.view_full_reverse(n, dependees, requires)
|
||||
|
||||
def view_full_reverse(self, n: int, dependees: dict, requires: str) -> None:
|
||||
"""Prints all packages.
|
||||
"""Print all packages.
|
||||
|
||||
Args:
|
||||
n (int): Number of line.
|
||||
|
@ -130,7 +130,7 @@ class Dependees(Configs): # pylint: disable=[R0902]
|
|||
print(line_requires)
|
||||
|
||||
def view_summary_of_dependees(self, dependees: dict, package: str) -> None:
|
||||
"""Prints the summary.
|
||||
"""Print the summary.
|
||||
|
||||
Args:
|
||||
dependees (dict): Packages data.
|
||||
|
|
Loading…
Reference in a new issue