From 63ba948241fcf62aaa2c2213f087016137ec9a2a Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Thu, 17 Nov 2022 22:21:25 +0100 Subject: [PATCH] Fix mistaken return type This return value is not used anywhere (clearly). --- vdirsyncer/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdirsyncer/utils.py b/vdirsyncer/utils.py index af66eb7..b4ae102 100644 --- a/vdirsyncer/utils.py +++ b/vdirsyncer/utils.py @@ -106,7 +106,7 @@ def get_storage_init_args(cls, stop_at=object): return all, required -def checkdir(path: str, create: bool = False, mode: int = 0o750) -> bool: +def checkdir(path: str, create: bool = False, mode: int = 0o750) -> None: """Check whether ``path`` is a directory. :param create: Whether to create the directory (and all parent directories)