From a15e1fc44e74d1adac1c122c2a06124fdc1d49db Mon Sep 17 00:00:00 2001 From: "t.avagyan" Date: Mon, 11 Sep 2023 13:07:00 +0400 Subject: [PATCH] added type annotation --- slither/solc_parsing/declarations/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/solc_parsing/declarations/function.py b/slither/solc_parsing/declarations/function.py index b3821388bf..6097d2304d 100644 --- a/slither/solc_parsing/declarations/function.py +++ b/slither/solc_parsing/declarations/function.py @@ -1103,7 +1103,7 @@ def _parse_unchecked_block(self, block: Dict, node: NodeSolc, scope): node = self._parse_statement(statement, node, new_scope) return node - def _update_reachability(self, node: Node): + def _update_reachability(self, node: Node) -> None: if node.is_reachable: return node.set_is_reachable(True)