Skip to content

Commit 57d68f2

Browse files
committed
make lint
1 parent 4101dd1 commit 57d68f2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyiceberg/io/pyarrow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173

174174

175175
class PyArrowLocalFileSystem(pyarrow.fs.LocalFileSystem):
176-
def open_output_stream(self, path, *args, **kwargs):
176+
def open_output_stream(self, path: str, *args: Any, **kwargs: Any) -> pyarrow.NativeFile:
177177
# In LocalFileSystem, parent directories must be first created before opening an output stream
178178
self.create_dir(os.path.dirname(path), recursive=True)
179179
return super().open_output_stream(path, *args, **kwargs)

tests/catalog/test_sql.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ def catalog_sqlite_fsspec(warehouse: Path) -> Generator[SqlCatalog, None, None]:
119119
catalog.destroy_tables()
120120

121121

122-
123122
def test_creation_with_no_uri() -> None:
124123
with pytest.raises(NoSuchPropertyException):
125124
SqlCatalog("test_ddb_catalog", not_uri="unused")

0 commit comments

Comments
 (0)