Fix lint issues

This commit is contained in:
Christophe Bedard 2019-07-31 14:00:25 +02:00
parent e60050ed17
commit 80bad7bf8d
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ from . import DataModel
class ProfileDataModel(DataModel): class ProfileDataModel(DataModel):
"""Container to model pre-processed profiling data for analysis.""" """Container to model pre-processed profiling data for analysis."""
def __init__(self) -> None: def __init__(self) -> None:
"""Constructor.""" """Constructor."""
self.times = pd.DataFrame(columns=[ self.times = pd.DataFrame(columns=[

View file

@ -63,7 +63,7 @@ class ProfileProcessor(EventHandler):
self.functions = functions self.functions = functions
# Temporary buffers # Temporary buffers
# tid -> # tid ->
# (list of functions currently executing (ordered by relative depth), # (list of functions currently executing (ordered by relative depth),
# start timestamp of the function) # start timestamp of the function)
self._current_funcs: Dict[int, List[Tuple[str, int]]] = defaultdict(list) self._current_funcs: Dict[int, List[Tuple[str, int]]] = defaultdict(list)