feat: make the inclusion of each notebook's note optional via --include-notes when listing notebooks

This commit is contained in:
cătălin 2024-05-17 18:45:22 +02:00
commit 3d93be39d6
No known key found for this signature in database
8 changed files with 632 additions and 512 deletions

View file

@ -9,7 +9,7 @@ from rich import print
def now():
tz = local_timezone()
return pendulum.now(tz)
return pendulum.now(tz) # type: ignore[reportArgumentType]
def capture(fn: Callable):
@ -24,7 +24,7 @@ def capture(fn: Callable):
print(f"[red]{exc}")
sys.exit(1)
except Exception as exc: # noqa: BLE001
print(f"[beld red] Unexpected error: {exc}")
print(f"[bold red] Unexpected error: {exc}")
sys.exit(2)
return wrapper