mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
cleanup
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ class TaskFilter(BaseAction):
|
||||
self.bashfile = bashfile
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.source}"
|
||||
return f"{str(click.style(self.source[:1], fg='yellow'))}{self.source[1:]}"
|
||||
|
||||
def __hash__(self):
|
||||
return hash((self.bashfile, self.source))
|
||||
|
||||
+1
-1
@@ -265,7 +265,7 @@ def entrypoint(
|
||||
if dep.is_filter:
|
||||
dep = click.style(str(dep), fg="yellow")
|
||||
deps.append(str(dep))
|
||||
deps = f"\n {click.style('+', fg='yellow', bold=True)} {eng_join(deps, conj='and finally')}."
|
||||
deps = f"\n {click.style('+', fg='yellow', bold=True)} {eng_join(deps, conj='&')}."
|
||||
else:
|
||||
deps = ""
|
||||
colon = "" if not deps else "…"
|
||||
|
||||
Reference in New Issue
Block a user