Skip to content

Commit 8fdc90e

Browse files
committed
Fix mypy
1 parent 2ac11ee commit 8fdc90e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crytic_compile/platform/vyper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class VyperStandardJson(AbstractPlatform):
3535
TYPE = Type.VYPER
3636

3737
def __init__(self, target: Optional[Path] = None, **_kwargs: str):
38-
super().__init__(target, **_kwargs)
38+
super().__init__(str(target), **_kwargs)
3939
self.standard_json_input = {
4040
"language": "Vyper",
4141
"sources": {},
@@ -123,7 +123,7 @@ def add_source_files(self, file_paths: List[str]) -> None:
123123

124124
for file_path in file_paths:
125125
with open(file_path, "r", encoding="utf8") as f:
126-
self.standard_json_input["sources"][file_path] = {
126+
self.standard_json_input["sources"][file_path] = { # type: ignore
127127
"content": f.read(),
128128
}
129129

0 commit comments

Comments
 (0)