Skip to content

Commit a3833f6

Browse files
nisedocursoragent
andcommitted
style: apply ruff formatter to solc export changes
Format the ABI normalization changes in solc.py to satisfy the repository's Ruff format check in CI. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e9cafa7 commit a3833f6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crytic_compile/platform/solc.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ def _normalize_abi_parameter(parameter: dict[str, Any]) -> dict[str, Any]:
8282
components = normalized_parameter.get("components")
8383
if isinstance(components, list):
8484
normalized_parameter["components"] = [
85-
_normalize_abi_parameter(component)
86-
if isinstance(component, dict)
87-
else component
85+
_normalize_abi_parameter(component) if isinstance(component, dict) else component
8886
for component in components
8987
]
9088

0 commit comments

Comments
 (0)