Fixed D401

This commit is contained in:
Dimitris Zlatanidis 2024-05-22 18:36:15 +03:00
parent f62e2823f8
commit 42a3b06c46

View file

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