Skip to content

Commit ea9fdd2

Browse files
committed
linting
1 parent c3afe8d commit ea9fdd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/integrations/django/templates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ def _get_template_name_description(template_name):
5959

6060

6161
def _normalize_context(context):
62-
# type: (Dict[str, Any]) -> Dict[str, Union[str, int, float, bool, type(None), list[Union[str, int, float, bool, type(None)]], dict[str, Union[str, int, float, bool, type(None)]]]]
62+
# type: (Dict[str, Any]) -> Dict[str, Union[str, int, float, bool, None, list[Union[str, int, float, bool, None]], dict[str, Union[str, int, float, bool, None]]]]
6363
"""
6464
Filter out non-primitive types from `context`.
6565
"""
6666
new_context = (
6767
{}
68-
) # type: Dict[str, Union[str, int, float, bool, type(None), list[Union[str, int, float, bool, type(None)]], dict[str, Union[str, int, float, bool, type(None)]]]]
68+
) # type: Dict[str, Union[str, int, float, bool, None, list[Union[str, int, float, bool, None]], dict[str, Union[str, int, float, bool, None]]]]
6969
for key, value in context.items():
7070
if isinstance(value, (str, int, float, bool, type(None))):
7171
new_context[key] = value

0 commit comments

Comments
 (0)