add empty return
Some checks failed
Mypy / mypy (push) Successful in 1m11s
Pytest / pytest (3.12) (push) Successful in 1m17s
Pytest / pytest (3.13) (push) Successful in 1m12s
Pytest / pytest (3.14) (push) Successful in 1m14s
Ruff / ruff (push) Successful in 1m0s
Mypy / mypy (pull_request) Successful in 1m9s
Pytest / pytest (3.12) (pull_request) Successful in 1m19s
Pytest / pytest (3.13) (pull_request) Failing after 37s
Pytest / pytest (3.14) (pull_request) Failing after 39s
Ruff / ruff (pull_request) Failing after 38s

This commit is contained in:
Justus Kuhlmann 2026-04-17 17:53:13 +02:00
commit 51ae53aa02
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -176,7 +176,7 @@ def load_records(path: Path, meas_paths: list[str], preloaded: dict[str, Any] =
""" """
if dry_run: if dry_run:
_check_db2paths(path, meas_paths) _check_db2paths(path, meas_paths)
return return []
needed_data: dict[str, list[str]] = {} needed_data: dict[str, list[str]] = {}
for mpath in meas_paths: for mpath in meas_paths:
file = mpath.split("::")[0] file = mpath.split("::")[0]