Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion frida/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def on_cancelled() -> None:

return result.value

def _on_rpc_message(self, request_id: int, operation: str, params, data) -> None:
def _on_rpc_message(self, request_id: int, operation: str, params: List[Any], data: Optional[bytes]) -> None:
if operation in ("ok", "error"):
callback = self._pending.pop(request_id, None)
if callback is None:
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ line-length = 120
[tool.isort]
profile = "black"
line_length = 120

[tool.mypy]
strict = true