Skip to content

Commit dd3232f

Browse files
authored
fix(build): Fix mypy type errors (#6225)
1 parent 01f52e8 commit dd3232f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

py/sentry_relay/consts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ def _check_category_unit_generated():
203203

204204
_check_category_unit_generated()
205205

206-
SPAN_STATUS_CODE_TO_NAME = {}
207-
SPAN_STATUS_NAME_TO_CODE = {}
206+
SPAN_STATUS_CODE_TO_NAME: dict[int, str] = {}
207+
SPAN_STATUS_NAME_TO_CODE: dict[str, int] = {}
208208

209209

210210
def _make_span_statuses():

py/sentry_relay/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from sentry_relay._lowlevel import lib
44

55
__all__ = ["RelayError"]
6-
exceptions_by_code = {}
6+
exceptions_by_code: dict[int, Exception] = {}
77

88

99
class RelayError(Exception):

0 commit comments

Comments
 (0)