diff --git a/singer_sdk/io_base.py b/singer_sdk/io_base.py index 8fa85b10a..07da6e63e 100644 --- a/singer_sdk/io_base.py +++ b/singer_sdk/io_base.py @@ -63,7 +63,10 @@ def deserialize_json(self, line: str) -> dict: json.decoder.JSONDecodeError: raised if any lines are not valid json """ try: - return json.loads(line, parse_float=decimal.Decimal) + return json.loads( # type: ignore[no-any-return] + line, + parse_float=decimal.Decimal, + ) except json.decoder.JSONDecodeError as exc: logger.error("Unable to parse:\n%s", line, exc_info=exc) raise