Skip to content

Commit 265fa06

Browse files
committed
fix lint
1 parent 01c9dc8 commit 265fa06

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdmetrics/single_table/privacy/util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ def hamming_distance(target, test):
6969
The hamming distance
7070
"""
7171
dist = 0
72-
assert len(target) == len(
73-
test
74-
), 'Tuples must have the same length in the calculation of hamming distance!'
72+
assert len(target) == len(test), (
73+
'Tuples must have the same length in the calculation of hamming distance!'
74+
)
7575

7676
for target_entry, test_entry in zip(target, test):
7777
if target_entry != test_entry:

tests/integration/reports/single_table/test_quality_report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def test_report_end_to_end(self):
143143
)
144144
assert report.get_score() == 0.8393750143888287
145145
assert report._properties['Column Shapes'].num_rows_subsample is None
146-
assert report._properties['Column Pair Trends'].num_rows_subsample == None
146+
assert report._properties['Column Pair Trends'].num_rows_subsample is None
147147
report_info = report.get_info()
148148
assert report_info == report.report_info
149149

0 commit comments

Comments
 (0)