Show More
@@ -19,7 +19,6 b' import re' | |||
|
19 | 19 | import textwrap |
|
20 | 20 | import dataclasses |
|
21 | 21 | import logging |
|
22 | import typing | |
|
23 | 22 | |
|
24 | 23 | from mako.template import Template |
|
25 | 24 | |
@@ -66,7 +65,7 b' class SlackDataHandler(CommitParsingData' | |||
|
66 | 65 | def __init__(self): |
|
67 | 66 | pass |
|
68 | 67 | |
|
69 | def __call__(self, event: events.RhodecodeEvent, data): | |
|
68 | def __call__(self, event: events.RhodecodeEvent, data) -> SlackData: | |
|
70 | 69 | if not isinstance(event, events.RhodecodeEvent): |
|
71 | 70 | raise TypeError(f"event {event} is not subtype of events.RhodecodeEvent") |
|
72 | 71 |
General Comments 0
You need to be logged in to leave comments.
Login now