Skip to content

Commit 272d1d7

Browse files
chore: Make Ruff happy (#1917)
1 parent 5a16c76 commit 272d1d7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

singer_sdk/helpers/_state.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_state_if_exists(
2323
tap_stream_id: str,
2424
state_partition_context: dict | None = None,
2525
key: str | None = None,
26-
) -> t.Any | None:
26+
) -> t.Any | None: # noqa: ANN401
2727
"""Return the stream or partition state, creating a new one if it does not exist.
2828
2929
Args:
@@ -181,7 +181,9 @@ def write_starting_replication_value(
181181
stream_or_partition_state[STARTING_MARKER] = to_json_compatible(initial_value)
182182

183183

184-
def get_starting_replication_value(stream_or_partition_state: dict) -> t.Any | None:
184+
def get_starting_replication_value(
185+
stream_or_partition_state: dict,
186+
) -> t.Any | None: # noqa: ANN401
185187
"""Retrieve initial replication marker value from state."""
186188
if not stream_or_partition_state:
187189
return None

0 commit comments

Comments
 (0)