Skip to content

Commit 93df231

Browse files
committed
chore: fix pydocstyle warnings in maintenance.py
Formats the [compact](iceberg-python/pyiceberg/table/maintenance.py) method docstring to ensure the summary line does not wrap and correctly ends with a period, satisfying pydocstyle D205 and D400 rules.
1 parent 9fd51a8 commit 93df231

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyiceberg/table/maintenance.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ def expire_snapshots(self) -> ExpireSnapshots:
4545
return ExpireSnapshots(transaction=Transaction(self.tbl, autocommit=True))
4646

4747
def compact(self) -> None:
48-
"""Compact the table's data and delete files by reading and overwriting
49-
the entire table.
48+
"""Compact the table's data and delete files by reading and overwriting the entire table.
5049
5150
Note: This is a full-table compaction that leverages Arrow for binpacking.
5251
It currently reads the entire table into memory via `.to_arrow()`.

0 commit comments

Comments
 (0)