Add-on: fix mypy warnings

No functional changes.
This commit is contained in:
Sybren A. Stüvel 2024-03-04 11:07:35 +01:00
parent 7b72d0ca43
commit f9bb7afcc6

View File

@ -45,7 +45,7 @@ def _finder_subversion(blendfile: Path) -> Path:
def _search_path_marker(blendfile: Path, marker_path: str) -> Path:
"""Go up the directory hierarchy until a file or directory 'marker_path' is found."""
blendfile_dir = bpathlib.make_absolute(blendfile).parent
blendfile_dir: Path = bpathlib.make_absolute(blendfile).parent
directory = blendfile_dir
while True: