Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-03-30 00:15:06 +03:00
parent 7b9d3614f1
commit 51e488ea7f
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ class BinQueries(Configs):
return ()
def all_pkg_and_required(self) -> list:
def all_package_names_with_required(self) -> list:
""" Returns all package with the dependencies. """
required: list = self.session.query(
BinariesTable.name, BinariesTable.required).where(

View file

@ -92,7 +92,7 @@ class Dependees(Configs):
def find_requires(self, pkg: str, repo) -> Generator[str, None, None]:
""" Find requires that slackbuild dependees. """
if self.utils.is_option(self.flag_bin_repository, self.flags):
requires: list = BinQueries(pkg, repo).all_pkg_and_required()
requires: list = BinQueries(pkg, repo).all_package_names_with_required()
else:
requires: list = SBoQueries('').all_sbo_and_requires()