Skip to content

Commit

Permalink
fix type check
Browse files Browse the repository at this point in the history
  • Loading branch information
kwist-sgr committed Jun 19, 2024
1 parent 3fd40fa commit 95b4bd5
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 @@ -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

0 comments on commit 95b4bd5

Please sign in to comment.