add type hints to strategy

pull/989/head
Joran Honig 6 years ago
parent 71f1b95ee1
commit aad81074f7
  1. 4
      mythril/laser/ethereum/strategy/__init__.py

@ -1,4 +1,6 @@
from abc import ABC, abstractmethod
from typing import List
from mythril.laser.ethereum.state.global_state import GlobalState
class BasicSearchStrategy(ABC):
@ -7,7 +9,7 @@ class BasicSearchStrategy(ABC):
__slots__ = "work_list", "max_depth"
def __init__(self, work_list, max_depth):
self.work_list = work_list
self.work_list = work_list # type: List[GlobalState]
self.max_depth = max_depth
def __iter__(self):

Loading…
Cancel
Save