Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix type check
  • Loading branch information
kwist-sgr committed Jun 19, 2024
commit 95b4bd522908fac22de3be0d2f4eef40f95d61c1
2 changes: 1 addition & 1 deletion src/filelock/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def __call__( # noqa: PLR0913
**kwargs,
}

present_params = set(inspect.signature(cls.__init__).parameters)
present_params = set(inspect.signature(cls.__init__).parameters) # type: ignore[misc]
init_params = {key: value for key, value in all_params.items() if key in present_params}
# The `lock_file` parameter is required
init_params["lock_file"] = lock_file
Expand Down