Skip to content

Commit

Permalink
fix extra if to elif
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Lloyd committed Aug 29, 2022
1 parent cddf2d5 commit beac08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singer_sdk/helpers/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def conform_record_data_types( # noqa: C901
elif isinstance(elem, str):
if elem.lower() in ['false', 'f', '0']:
boolean_representation = False

Check warning on line 230 in singer_sdk/helpers/_typing.py

View check run for this annotation

Codecov / codecov/patch

singer_sdk/helpers/_typing.py#L230

Added line #L230 was not covered by tests
if elem.lower() in ['true', 't', '1']:
elif elem.lower() in ['true', 't', '1']:
boolean_representation = True

Check warning on line 232 in singer_sdk/helpers/_typing.py

View check run for this annotation

Codecov / codecov/patch

singer_sdk/helpers/_typing.py#L232

Added line #L232 was not covered by tests
else:
is_standard_boolean = False
Expand Down

0 comments on commit beac08d

Please sign in to comment.