We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa54396 commit 2f01d23Copy full SHA for 2f01d23
1 file changed
src/_pytask/collect.py
@@ -465,7 +465,10 @@ def pytask_collect_node( # noqa: C901, PLR0912
465
and not is_non_local_path(node.path)
466
and not node.path.is_absolute()
467
):
468
- node.path = path.joinpath(node.path)
+ local_node_path = (
469
+ Path(str(node.path)) if isinstance(node.path, UPath) else node.path
470
+ )
471
+ node.path = path.joinpath(local_node_path)
472
473
# ``normpath`` removes ``../`` from the path which is necessary for the casing
474
# check which will fail since ``.resolves()`` also normalizes a path.
0 commit comments