Skip to content

Commit 573e5bb

Browse files
authored
lock_file type-hint (#267)
1 parent 09ef412 commit 573e5bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/filelock/_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class BaseFileLock(ABC, contextlib.ContextDecorator):
7878

7979
def __init__(
8080
self,
81-
lock_file: str | os.PathLike[Any],
81+
lock_file: str | os.PathLike[str],
8282
timeout: float = -1,
8383
mode: int = 0o644,
8484
thread_local: bool = True, # noqa: FBT001, FBT002

0 commit comments

Comments
 (0)