add typing annotation
This commit is contained in:
parent
288d2cdef4
commit
7318c9380d
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class RelativePath:
|
|||
return self._root_dir
|
||||
|
||||
@property
|
||||
def relative_path(self):
|
||||
def relative_path(self) -> Path:
|
||||
try:
|
||||
return self.relative_to(self._root_dir)
|
||||
except ValueError as e:
|
||||
|
|
Loading…
Reference in a new issue