develop #41

Merged
jkuhl merged 210 commits from develop into master 2026-05-07 16:01:02 +02:00
Showing only changes of commit 2fd46d452b - Show all commits

hotfix ensure that path is a Path
All checks were successful
Mypy / mypy (push) Successful in 1m13s
Pytest / pytest (3.12) (push) Successful in 1m19s
Pytest / pytest (3.13) (push) Successful in 1m14s
Pytest / pytest (3.14) (push) Successful in 1m18s
Ruff / ruff (push) Successful in 1m3s

Justus Kuhlmann 2026-03-24 18:40:46 +01:00
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -195,7 +195,7 @@ def cache_dir(path: Path, file: str) -> Path:
The path holding the cached data for the given file.
"""
cache_path_list = file.split("/")[1:]
cache_path = path / CACHE_DIR
cache_path = Path(path) / CACHE_DIR
for directory in cache_path_list:
cache_path /= directory
return cache_path