diff --git a/slither/solc_parsing/declarations/function.py b/slither/solc_parsing/declarations/function.py index 32ea99092..5a8cde532 100644 --- a/slither/solc_parsing/declarations/function.py +++ b/slither/solc_parsing/declarations/function.py @@ -437,10 +437,7 @@ class FunctionSolc: return key in attributes and not attributes[key] if attributes and any( - map( - has_hint, - ["condition", "initializationExpression", "loopExpression"], - ) + map(has_hint, ["condition", "initializationExpression", "loopExpression"],) ): # if we have attribute hints, rely on those