diff --git a/docs/src/python/delta_table.py b/docs/src/python/delta_table.py index 2f97594fe3..6b44a95f05 100644 --- a/docs/src/python/delta_table.py +++ b/docs/src/python/delta_table.py @@ -5,4 +5,4 @@ def get_table_info(): dt = DeltaTable("../rust/tests/data/delta-0.2.0") print(f"Version: {dt.version()}") print(f"Files: {dt.files()}") - # --8<-- [end:get_table_info] \ No newline at end of file + # --8<-- [end:get_table_info] diff --git a/docs/src/python/operations.py b/docs/src/python/operations.py index 41dcc5d314..700b77421a 100644 --- a/docs/src/python/operations.py +++ b/docs/src/python/operations.py @@ -18,4 +18,4 @@ def replace_where(): predicate="id = '1'", engine="rust", ) - # --8<-- [end:replace_where] \ No newline at end of file + # --8<-- [end:replace_where] diff --git a/python/tests/test_table_read.py b/python/tests/test_table_read.py index 7d8913040c..74c7a1b339 100644 --- a/python/tests/test_table_read.py +++ b/python/tests/test_table_read.py @@ -125,9 +125,7 @@ def test_read_simple_table_file_sizes_failure(): x: [-1 for item in x] if x == "size_bytes" else y for x, y in add_actions.items() } - dt.get_add_actions = lambda: SimpleNamespace( - to_pydict=lambda: add_actions_modified - ) # type:ignore + dt.get_add_actions = lambda: SimpleNamespace(to_pydict=lambda: add_actions_modified) # type:ignore with pytest.raises(OSError, match="Cannot seek past end of file."): dt.to_pyarrow_dataset().to_table().to_pydict()