Skip to content

Commit

Permalink
lock_file type-hint (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
keller00 authored Aug 28, 2023
1 parent 09ef412 commit 573e5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filelock/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class BaseFileLock(ABC, contextlib.ContextDecorator):

def __init__(
self,
lock_file: str | os.PathLike[Any],
lock_file: str | os.PathLike[str],
timeout: float = -1,
mode: int = 0o644,
thread_local: bool = True, # noqa: FBT001, FBT002
Expand Down

0 comments on commit 573e5bb

Please sign in to comment.