Skip to content

Commit 80dc95f

Browse files
author
Joshua Karstendick
committed
make pylint happy
1 parent cc8a588 commit 80dc95f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ dependencies:
88

99
test:
1010
post:
11-
- pylint singer -d missing-docstring,broad-except,bare-except,too-many-return-statements,too-many-branches,too-many-arguments
11+
- pylint singer -d missing-docstring,broad-except,bare-except,too-many-return-statements,too-many-branches,too-many-arguments,no-else-return

singer/transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def _transform_anyof(data, schema, integer_datetime_fmt, path, error_paths):
117117
for i, subschema in enumerate(subschemas):
118118
success, transformed_data, path, error_paths = transform_recur(data, subschema, integer_datetime_fmt, path, error_paths)
119119
if success:
120-
return success, data, path, error_paths
120+
return success, transformed_data, path, error_paths
121121
else:
122122
if i == (subschemas_length - 1):
123123
return False, None, path, error_paths + [path]

0 commit comments

Comments
 (0)