Skip to content

Commit

Permalink
type: ignore[misc]
Browse files Browse the repository at this point in the history
  • Loading branch information
normanrz committed Oct 19, 2023
1 parent d58326d commit 5e1edbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upath/implementations/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _from_parsed_parts(
url=None,
**kwargs: Any,
):
obj = super(UPath, cls)._from_parsed_parts(drv, root, parts)
obj = super(UPath, cls)._from_parsed_parts(drv, root, parts) # type: ignore[misc]
obj._kwargs = {}
obj._url = SplitResult("", "", str(obj), "", "")
return obj
Expand Down Expand Up @@ -113,7 +113,7 @@ def _from_parsed_parts(
url=None,
**kwargs: Any,
):
obj = super(UPath, cls)._from_parsed_parts(drv, root, parts)
obj = super(UPath, cls)._from_parsed_parts(drv, root, parts) # type: ignore[misc]
obj._kwargs = {}
obj._url = SplitResult("", "", str(obj), "", "")
return obj

0 comments on commit 5e1edbb

Please sign in to comment.