Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:

# Other file formatting, plus common Git mistakes & text file standardization:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-added-large-files # Don't accidentally commit giant files.
args: ["--maxkb=9000"]
Expand All @@ -33,7 +33,7 @@ repos:

# Linter and formatter that replaces flake8, isort, etc.
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.7
rev: v0.15.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
10 changes: 5 additions & 5 deletions src/etoolbox/datazip/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,11 +633,11 @@ def _decode_obj(self, obj, klass=None) -> Any:
),
"plSeries": partial(
_decode_cache_helper,
func=lambda self, obj: pl.read_parquet(
BytesIO(self.read(obj["__loc__"])), use_pyarrow=True
)
.to_series()
.alias(obj["col_name"]),
func=lambda self, obj: (
pl.read_parquet(BytesIO(self.read(obj["__loc__"])), use_pyarrow=True)
.to_series()
.alias(obj["col_name"])
),
),
"pgoFigure": lambda self, obj: pickle.load( # noqa: S301
BytesIO(self.read(obj["__loc__"]))
Expand Down
Loading