Skip to content

Commit 9f463fb

Browse files
Fix regressions reported by mypi and black (#269)
1 parent 9fdee22 commit 9f463fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frida/core.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,6 +1524,7 @@ class CompilerDiagnostic(TypedDict):
15241524
CompilerCompression = Literal["none", "terser"]
15251525
CompilerPlatform = Literal["neutral", "gum", "browser"]
15261526

1527+
15271528
class Compiler:
15281529
def __init__(self) -> None:
15291530
self._impl = _frida.Compiler()
@@ -1544,7 +1545,7 @@ def build(
15441545
platform: Optional[CompilerPlatform] = None,
15451546
externals: Optional[Sequence[str]] = None,
15461547
) -> str:
1547-
kwargs = {
1548+
kwargs: dict[str, Any] = {
15481549
"project_root": project_root,
15491550
"output_format": output_format,
15501551
"bundle_format": bundle_format,
@@ -1570,7 +1571,7 @@ def watch(
15701571
platform: Optional[CompilerPlatform] = None,
15711572
externals: Optional[Sequence[str]] = None,
15721573
) -> None:
1573-
kwargs = {
1574+
kwargs: dict[str, Any] = {
15741575
"project_root": project_root,
15751576
"output_format": output_format,
15761577
"bundle_format": bundle_format,

0 commit comments

Comments
 (0)