We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7194cd0 + 2682545 commit c69a7b9Copy full SHA for c69a7b9
.pre-commit-config.yaml
@@ -19,7 +19,7 @@ repos:
19
- id: pycln
20
args: [--config=pyproject.toml]
21
- repo: https://github.com/astral-sh/ruff-pre-commit
22
- rev: v0.9.9
+ rev: v0.11.0
23
hooks:
24
# Run the linter.
25
- id: ruff
src/eko/io/struct.py
@@ -386,6 +386,8 @@ def read(
386
format. Otherwise, the `path` is interpreted as the location of an
387
already extracted folder.
388
"""
389
+ # Take the absolute path in case we need to modify the eko in-place
390
+ path = path.resolve()
391
if extract:
392
dir_ = Path(tempfile.mkdtemp(prefix=TEMP_PREFIX)) if dest is None else dest
393
with tarfile.open(path) as tar:
0 commit comments