Skip to content

Commit f7f6e26

Browse files
committed
linting and adding missing docstrings
1 parent 8eeb2fa commit f7f6e26

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/ome_arrow/ingest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ def _struct_matches_ome_fields(t: pa.StructType) -> bool:
118118
pass
119119

120120
return scalar
121+
122+
121123
def _normalize_unit(unit: str | None) -> str | None:
122124
if not unit:
123125
return None

tests/test_core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ def test_ome_parquet_specific_col_and_row(
354354

355355

356356
def test_vortex_roundtrip(tmp_path: pathlib.Path) -> None:
357+
"""Smoke-test the Vortex round-trip export/import path."""
357358
pytest.importorskip(
358359
"vortex", reason="Vortex support is optional (install extras: vortex)."
359360
)
@@ -369,6 +370,7 @@ def test_vortex_roundtrip(tmp_path: pathlib.Path) -> None:
369370

370371

371372
def test_vortex_custom_column_name(tmp_path: pathlib.Path) -> None:
373+
"""Ensure custom Vortex column names are preserved on round-trip."""
372374
pytest.importorskip(
373375
"vortex", reason="Vortex support is optional (install extras: vortex)."
374376
)

0 commit comments

Comments
 (0)