Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Oct 10, 2023
1 parent 583343a commit 123a96e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions py-polars/polars/io/delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,7 @@ def _get_delta_lake_table(
def _check_if_delta_available() -> None:
if not _DELTALAKE_AVAILABLE:
raise ModuleNotFoundError(
"deltalake is not installed"
"\n\nPlease run: pip install deltalake>=0.9.0"
"deltalake is not installed\n\nPlease run: pip install deltalake>=0.9.0"
)


Expand Down
4 changes: 1 addition & 3 deletions py-polars/polars/utils/_construction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,9 +1061,7 @@ def _sequence_of_sequence_to_pydf(
]
return PyDataFrame(data_series)

raise ValueError(
f"`orient` must be one of {{'col', 'row', None}}, got {orient!r}"
)
raise ValueError(f"`orient` must be one of {{'col', 'row', None}}, got {orient!r}")


@_sequence_to_pydf_dispatcher.register(tuple)
Expand Down

0 comments on commit 123a96e

Please sign in to comment.