Skip to content

Commit e07d4f2

Browse files
iliastsadguido
authored andcommitted
chore: add docstring, remove unused kwargs
1 parent 36945ff commit e07d4f2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crytic_compile/crytic_compile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,10 @@ def _compile(self, **kwargs: str) -> None:
638638
for source_unit in compilation_unit.source_units.values():
639639
source_unit.remove_metadata()
640640

641-
def compile(self, **kwargs: str) -> None:
641+
def compile(self) -> None:
642+
"""Compile the project. The kwargs provided during object initialization will be used.
643+
This function is useful when paired with the `crytic_defer_compilation` kwargs option.
644+
"""
642645
return self._compile(**self.compilation_kwargs)
643646

644647
@staticmethod

0 commit comments

Comments
 (0)