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
|
return self._root_dir
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def relative_path(self):
|
def relative_path(self) -> Path:
|
||||||
try:
|
try:
|
||||||
return self.relative_to(self._root_dir)
|
return self.relative_to(self._root_dir)
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
|
|
Loading…
Reference in a new issue