diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 85417649..f5324921 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/src/yadism/runner.py b/src/yadism/runner.py index cc41f934..6045f95a 100644 --- a/src/yadism/runner.py +++ b/src/yadism/runner.py @@ -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", diff --git a/src/yadmark/navigator/__init__.py b/src/yadmark/navigator/__init__.py index fab16602..1197f149 100644 --- a/src/yadmark/navigator/__init__.py +++ b/src/yadmark/navigator/__init__.py @@ -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 @@ -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