refactor(dreamer): split long description string across multiple lines

This commit is contained in:
huangsen 2026-05-29 10:58:34 +08:00
parent e16b52e68b
commit 1cbaf5a2cf
3 changed files with 5 additions and 1 deletions

View file

@ -424,7 +424,8 @@ class Dreamer(BaseStep):
},
"content": {
"type": "string",
"description": "body (markdown; no frontmatter — name/description go in the fields above)",
"description": "body (markdown; no frontmatter "
"— name/description go in the fields above)",
},
},
"required": ["path", "name", "description", "content"],

View file

@ -250,6 +250,7 @@ def seed_vault(vault: Path) -> list[str]:
return seeded
# pylint: disable=missing-function-docstring
def main() -> None:
if len(sys.argv) < 2:
print(f"usage: {sys.argv[0]} <vault_dir>", file=sys.stderr)

View file

@ -32,12 +32,14 @@ SMOKE_DIR = Path(__file__).resolve().parent
sys.path.insert(0, str(REPO_ROOT))
sys.path.insert(0, str(SMOKE_DIR))
# pylint: disable=wrong-import-position
from _dreamer_fixture import clean_vault, seed_vault, INPUT_PATH # noqa: E402
VAULT = os.environ.get("VAULT_PATH", "/tmp/reme-dreamer-test")
async def main() -> None:
"""Main function for testing the ReMeFs CLI."""
from reme4 import ReMe # noqa: E402
from reme4.config import resolve_app_config # noqa: E402
from reme4.utils import load_env # noqa: E402