From 9732b538db8ca5062df818eb3a17bed382b07941 Mon Sep 17 00:00:00 2001 From: 7x11x13 Date: Sun, 18 Aug 2024 11:56:58 -0400 Subject: [PATCH] Format --- scdl/scdl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scdl/scdl.py b/scdl/scdl.py index 27694af..a1578f5 100644 --- a/scdl/scdl.py +++ b/scdl/scdl.py @@ -262,6 +262,7 @@ def clean_up_locks() -> None: atexit.register(clean_up_locks) + def get_filelock(path: Union[pathlib.Path, str], timeout: int = 10) -> filelock.BaseFileLock: path = pathlib.Path(path) path.parent.mkdir(parents=True, exist_ok=True)