Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

332 B
Raw Blame
# Copyright 2026 Marimo. All rights reserved.
from __future__ import annotations

from marimo._runtime.commands import kebab_case


def test_kebab_case() -> None:
    assert kebab_case("SomeSQLCommand") == "some-sql"
    assert kebab_case("SomeSQL") == "some-sql"
    assert kebab_case("MyNotificationCommand") == "my-notification"