Skip to content

Commit 881aecd

Browse files
committed
Lint
1 parent ae3ba82 commit 881aecd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

pyiceberg/transforms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ def pyarrow_transform(self, source: IcebergType) -> "Callable[[pa.Array], pa.Arr
575575

576576
return _pyiceberg_transform_wrapper(pyiceberg_core_transform.month, expected_type=pa.int32())
577577

578+
578579
class DayTransform(TimeTransform[S]):
579580
"""Transforms a datetime value into a day value.
580581

tests/table/test_partitioning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def test_transform_consistency_with_pyarrow_transform(source_type: PrimitiveType
209209
for t in all_transforms:
210210
if t.can_transform(source_type):
211211
try:
212-
assert t.transform(source_type)(value) == t.pyarrow_transform(source_type)(pa.array([value])).to_pylist()[0];
212+
assert t.transform(source_type)(value) == t.pyarrow_transform(source_type)(pa.array([value])).to_pylist()[0]
213213
except ValueError as e:
214214
# Skipping unsupported feature
215215
if "FeatureUnsupported => Unsupported data type for truncate transform" in str(e):

0 commit comments

Comments
 (0)