Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Jan 13, 2024
1 parent 9836bc8 commit 1a4563d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dlt/common/data_types/type_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def coerce_value(to_type: TDataType, from_type: TDataType, value: Any) -> Any:
if from_type == "text":
try:
return json.loads(value)
except Exception as _e:
except Exception:
pass

if to_type == "text":
Expand Down
2 changes: 1 addition & 1 deletion tests/cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def assert_all_data_types_row(
if expect_filtered_null_columns:
for key, expected in expected_rows.items():
if expected is None:
assert db_mapping.get(key, None) == None
assert db_mapping.get(key, None) is None
db_mapping[key] = None

for key, expected in expected_rows.items():
Expand Down

0 comments on commit 1a4563d

Please sign in to comment.