From 62e93818b3a840dc65766d046740632b0fb14eaa Mon Sep 17 00:00:00 2001 From: Jaixii Date: Sun, 26 Jul 2026 02:35:54 -0400 Subject: [PATCH 1/2] chore: update ops-heartbeat observation path jomie->home Co-Authored-By: Claude Opus 5 (1M context) --- references/ops-heartbeat-observations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/references/ops-heartbeat-observations.md b/references/ops-heartbeat-observations.md index c7b3ae7..e2da3b8 100644 --- a/references/ops-heartbeat-observations.md +++ b/references/ops-heartbeat-observations.md @@ -11,7 +11,7 @@ - Notes: 130 passed in 2.94s ## 2026-06-10 workspace state -- Repo root discovered: C:\Users\jomie\Documents\Github\datamorph +- Repo root discovered: C:\Users\home\Documents\Github\datamorph - Project type: Python - Test runner: pytest - No backend/service dependency present in project From 0bd86580a536494db3cb58fbd456b624bad642cd Mon Sep 17 00:00:00 2001 From: Jaixii Date: Sun, 9 Aug 2026 23:20:33 -0400 Subject: [PATCH 2/2] style: apply ruff format to conftest.py and cli.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Addresses automated code-review bot formatting warnings on PR #47. No functional changes — purely whitespace/line-wrapping adjustments. --- conftest.py | 1 + src/datamorph/cli.py | 24 ++++++------------------ 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/conftest.py b/conftest.py index c9861f1..d52023f 100644 --- a/conftest.py +++ b/conftest.py @@ -1,4 +1,5 @@ """pytest configuration — add project src to Python path and skip rate limits.""" + import os import sys from pathlib import Path diff --git a/src/datamorph/cli.py b/src/datamorph/cli.py index 63b9547..62f4fc5 100644 --- a/src/datamorph/cli.py +++ b/src/datamorph/cli.py @@ -100,9 +100,7 @@ def convert_cmd( @click.option("--from", "-f", "from_format", required=True, help="Source format") @click.option("--to", "-t", "to_format", required=True, help="Target format") @click.option("--pattern", default="*", help="File glob pattern (default: all files)") -@click.option( - "--recursive", "-r", is_flag=True, help="Search subdirectories recursively" -) +@click.option("--recursive", "-r", is_flag=True, help="Search subdirectories recursively") @click.option("--csv-delimiter", default=",", help="CSV delimiter") def batch_cmd( input_dir: str, @@ -151,9 +149,7 @@ def batch_cmd( @cli.command() @click.argument("file", type=click.Path(exists=True)) -@click.option( - "--format", "-f", "fmt", default=None, help="File format (auto-detected if omitted)" -) +@click.option("--format", "-f", "fmt", default=None, help="File format (auto-detected if omitted)") @click.option("--json-output", "-j", is_flag=True, help="Output schema as JSON") @click.option( "--sample", @@ -224,9 +220,7 @@ def formats_cmd() -> None: @cli.command() @click.argument("file", type=click.Path(exists=True)) -@click.option( - "--format", "-f", "fmt", default=None, help="File format (auto-detected if omitted)" -) +@click.option("--format", "-f", "fmt", default=None, help="File format (auto-detected if omitted)") @click.option( "--schema", "-s", @@ -240,12 +234,8 @@ def formats_cmd() -> None: is_flag=True, help="Strict mode: fail on type mismatches and missing fields", ) -@click.option( - "--max-rows", default=0, type=int, help="Maximum rows to validate (0 = all)" -) -@click.option( - "--json-output", "-j", is_flag=True, help="Output validation result as JSON" -) +@click.option("--max-rows", default=0, type=int, help="Maximum rows to validate (0 = all)") +@click.option("--json-output", "-j", is_flag=True, help="Output validation result as JSON") def validate_cmd( file: str, fmt: str | None, @@ -286,9 +276,7 @@ def validate_cmd( console.print(json.dumps(output, indent=2)) else: if result.valid: - console.print( - f"[green]✓ VALID[/green] — {result.rows_checked} rows checked" - ) + console.print(f"[green]✓ VALID[/green] — {result.rows_checked} rows checked") else: console.print(f"[red]✗ INVALID[/red] — {result.rows_checked} rows checked")