mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Updated for coding style
This commit is contained in:
parent
836e98e73b
commit
ba4b7969a5
1 changed files with 0 additions and 4 deletions
|
@ -40,7 +40,6 @@ class Dependees(Configs):
|
||||||
|
|
||||||
for pkg in self.packages:
|
for pkg in self.packages:
|
||||||
dependees: dict = dict(self.find_requires(pkg))
|
dependees: dict = dict(self.find_requires(pkg))
|
||||||
|
|
||||||
print(f'{self.byellow}{pkg}{self.endc}')
|
print(f'{self.byellow}{pkg}{self.endc}')
|
||||||
print(f"{'':>1}{self.llc}{self.hl}", end='')
|
print(f"{'':>1}{self.llc}{self.hl}", end='')
|
||||||
|
|
||||||
|
@ -48,7 +47,6 @@ class Dependees(Configs):
|
||||||
print(f"{'':>1}{self.cyan}No dependees{self.endc}")
|
print(f"{'':>1}{self.cyan}No dependees{self.endc}")
|
||||||
|
|
||||||
self.print_dependees(dependees)
|
self.print_dependees(dependees)
|
||||||
|
|
||||||
self.summary_of_dependees(dependees, pkg)
|
self.summary_of_dependees(dependees, pkg)
|
||||||
|
|
||||||
def choose_version(self, name: str) -> str:
|
def choose_version(self, name: str) -> str:
|
||||||
|
@ -75,14 +73,12 @@ class Dependees(Configs):
|
||||||
str_dependency: str = f"{'':>4}{dependency}"
|
str_dependency: str = f"{'':>4}{dependency}"
|
||||||
if n == 1:
|
if n == 1:
|
||||||
str_dependency: str = f"{'':>1}{dependency}"
|
str_dependency: str = f"{'':>1}{dependency}"
|
||||||
|
|
||||||
print(str_dependency)
|
print(str_dependency)
|
||||||
|
|
||||||
def print_full_reverse(self, n: int, dependees: dict, requires: str) -> None:
|
def print_full_reverse(self, n: int, dependees: dict, requires: str) -> None:
|
||||||
str_requires: str = f"{'':>5}{self.var}{self.hl} {self.violet}{requires}{self.endc}"
|
str_requires: str = f"{'':>5}{self.var}{self.hl} {self.violet}{requires}{self.endc}"
|
||||||
if n == len(dependees):
|
if n == len(dependees):
|
||||||
str_requires: str = f"{'':>5}{self.llc}{self.hl} {self.violet}{requires}{self.endc}"
|
str_requires: str = f"{'':>5}{self.llc}{self.hl} {self.violet}{requires}{self.endc}"
|
||||||
|
|
||||||
print(str_requires)
|
print(str_requires)
|
||||||
|
|
||||||
def summary_of_dependees(self, dependees: dict, pkg: str) -> None:
|
def summary_of_dependees(self, dependees: dict, pkg: str) -> None:
|
||||||
|
|
Loading…
Reference in a new issue