Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
- id: debug-statements
exclude: "debug.py"
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
rev: 26.1.0
hooks:
- id: black
- repo: https://github.com/asottile/blacken-docs
Expand Down
6 changes: 2 additions & 4 deletions src/yadism/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,13 @@ class Runner:

banner = rich.align.Align(
rich.panel.Panel.fit(
inspect.cleandoc(
r""" __ __ _ _
inspect.cleandoc(r""" __ __ _ _
\ \ / / | (_)
\ \_/ /_ _ __| |_ ___ _ __ ___
\ / _` |/ _` | / __| '_ ` _ \
| | (_| | (_| | \__ \ | | | | |
|_|\__,_|\__,_|_|___/_| |_| |_|
"""
),
"""),
rich.box.SQUARE,
padding=1,
style="magenta",
Expand Down
6 changes: 2 additions & 4 deletions src/yadmark/navigator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ def yelp(*args):
Help function (renamed to avoid clash of names) - short cut: h.
"""
if len(args) == 0:
print(
f"""Welcome to yadmark navigator - the yadism benchmark skript!
print(f"""Welcome to yadmark navigator - the yadism benchmark skript!
Available variables:
{bnav.help_vars}
o = "{bnav.o}" -> query observables
Expand All @@ -29,8 +28,7 @@ def yelp(*args):
compare(id,id) - compare externals
check_log(id) - check logs passed
crashed_log(id) - print crashed logs
"""
)
""")
elif len(args) == 1:
return help(*args)
return None
Expand Down