Skip to content

Commit 2cd29fc

Browse files
committed
Fix darglint
1 parent d890670 commit 2cd29fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crytic_compile/platform/foundry.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ def compile(self, crytic_compile: "CryticCompile", **kwargs: str) -> None:
3636
crytic_compile (CryticCompile): CryticCompile object to populate
3737
**kwargs: optional arguments. Used: "foundry_ignore_compile", "foundry_out_directory"
3838
39-
Raises:
40-
InvalidCompilation: If foundry failed to run
4139
"""
4240

4341
ignore_compile = kwargs.get("foundry_ignore_compile", False) or kwargs.get(

crytic_compile/platform/hardhat.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ def hardhat_like_parsing(
4242
4343
Returns:
4444
45+
46+
Raises:
47+
InvalidCompilation: If hardhat failed to run
48+
4549
"""
4650
files = sorted(
4751
os.listdir(build_directory), key=lambda x: os.path.getmtime(Path(build_directory, x))
@@ -150,8 +154,6 @@ def compile(self, crytic_compile: "CryticCompile", **kwargs: str) -> None:
150154
**kwargs: optional arguments. Used: "hardhat_ignore", "hardhat_ignore_compile", "ignore_compile",
151155
"hardhat_artifacts_directory","hardhat_working_dir","npx_disable"
152156
153-
Raises:
154-
InvalidCompilation: If hardhat failed to run
155157
"""
156158

157159
hardhat_ignore_compile = kwargs.get("hardhat_ignore_compile", False) or kwargs.get(

0 commit comments

Comments
 (0)