Skip to content

Commit 3c47d2d

Browse files
committed
Black
1 parent aba7501 commit 3c47d2d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

slither/slithir/convert.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,9 @@ def _find_function_from_parameter(ir: Call, candidates: List[Function]) -> Optio
218218
type_args = [get_type(arg.type)]
219219

220220
arg_type = arg.type
221-
if (
222-
isinstance(arg_type, ElementaryType)
223-
and arg_type.type in ElementaryTypeInt + Uint + Byte + ["string"]
224-
):
221+
if isinstance(
222+
arg_type, ElementaryType
223+
) and arg_type.type in ElementaryTypeInt + Uint + Byte + ["string"]:
225224
if isinstance(arg, Constant):
226225
value = arg.value
227226
can_be_uint = True

0 commit comments

Comments
 (0)