Skip to content

Commit cf77748

Browse files
authored
Set JsonFormatter.__init__ return type to None (#5)
Fixes #4
1 parent 6523af1 commit cf77748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pythonjsonlogger/jsonlogger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(
125125
reserved_attrs: Union[Tuple[str, ...], List[str]] = RESERVED_ATTRS,
126126
timestamp: Union[bool, str] = False,
127127
**kwargs: Any,
128-
):
128+
) -> None:
129129
"""
130130
:param json_default: a function for encoding non-standard objects
131131
as outlined in https://docs.python.org/3/library/json.html

0 commit comments

Comments
 (0)