Skip to content

Commit 2849f63

Browse files
committed
ignore untyped func
1 parent 709d6bc commit 2849f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idom/server/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def safe_web_modules_dir_path(path: str) -> Path:
7474

7575
def traversal_safe_path(root: Path, *unsafe_parts: str | Path) -> Path:
7676
"""Sanitize user given path using ``werkzeug.security.safe_join``"""
77-
path = safe_join(str(root.resolve()), *unsafe_parts)
77+
path = safe_join(str(root.resolve()), *unsafe_parts) # type: ignore
7878
if path is None:
7979
raise ValueError("Unsafe path") # pragma: no cover
8080
return Path(path)

0 commit comments

Comments
 (0)