[pre-commit.ci] pre-commit autoupdate (#267)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
pull/269/head
pre-commit-ci[bot] 3 months ago committed by GitHub
parent 5c08622762
commit 39c9f60195
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -38,7 +38,7 @@ repos:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
- repo: local

@ -191,9 +191,11 @@ def dynamic() -> RenderableType:
Align.center(
Panel(
Text(
f"Your terminal is {width} cells wide (try resizing it or adjusting your font size!)"
if width > width_limit
else f"Your terminal is only {width} cells wide! Get a bigger monitor!",
(
f"Your terminal is {width} cells wide (try resizing it or adjusting your font size!)"
if width > width_limit
else f"Your terminal is only {width} cells wide! Get a bigger monitor!"
),
style=Style(color="green1" if width > width_limit else "red"),
justify="center",
)

Loading…
Cancel
Save