Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
viglia committed Nov 13, 2023
1 parent a4e433a commit de5f881
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions py/symbolic/proguard.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@

class JavaStackFrame:
def __init__(
self, class_name: str, method: str, line: int, file: str | None = None, parameters: str | None = None
self,
class_name: str,
method: str,
line: int,
file: str | None = None,
parameters: str | None = None,
) -> None:
self.class_name = class_name
self.method = method
Expand Down Expand Up @@ -75,7 +80,9 @@ def remap_method(self, klass: str, method: str) -> Tuple[str, str] | None:

return output if len(output[0]) > 0 and len(output[1]) > 0 else None

def remap_frame(self, klass: str, method: str, line: int, parameters: str = "") -> list[JavaStackFrame]:
def remap_frame(
self, klass: str, method: str, line: int, parameters: str = ""
) -> list[JavaStackFrame]:
"""Remaps the stackframe, given its class, method and line."""
result = self._methodcall(
lib.symbolic_proguardmapper_remap_frame,
Expand Down

0 comments on commit de5f881

Please sign in to comment.