From 8bd985caac771cc5b447bc5e315e963a6ad88158 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 1 Aug 2023 00:17:11 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- singer_sdk/mapper.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/singer_sdk/mapper.py b/singer_sdk/mapper.py index e608d8175c..9855d88e65 100644 --- a/singer_sdk/mapper.py +++ b/singer_sdk/mapper.py @@ -8,10 +8,10 @@ import abc import copy import datetime +import fnmatch import hashlib import logging import typing as t -import fnmatch from singer_sdk.exceptions import MapExpressionError, StreamMapConfigError from singer_sdk.helpers import _simpleeval as simpleeval @@ -725,7 +725,9 @@ def register_raw_stream_schema( # noqa: PLR0912, C901 key_properties=key_properties, flattening_options=self.flattening_options, ) - elif stream_def is None or (isinstance(stream_def, str) and stream_def == NULL_STRING): + elif stream_def is None or ( + isinstance(stream_def, str) and stream_def == NULL_STRING + ): mapper = RemoveRecordTransform( stream_alias=stream_alias, raw_schema=schema,