Skip to content

Commit

Permalink
ignore type complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Sep 5, 2020
1 parent be4de65 commit 467bed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dedupe/training.py
Expand Up @@ -77,7 +77,7 @@ def generate_candidates_bilenko(self,
predicate = CompoundPredicate(predicate + (best_p,))
current_match_cover &= match_cover[best_p]
current_comparison_cover &= comparison_cover[best_p]
predicate.count = self.estimate(current_comparison_cover)
predicate.count = self.estimate(current_comparison_cover) # type: ignore
candidates[predicate] = current_match_cover
remaining.remove(best_p)

Expand Down Expand Up @@ -109,7 +109,7 @@ def generate_candidates_rf(self,
current_match_cover &= expander(match_cover[best_p])
real_match_cover &= match_cover[best_p]
current_comparison_cover &= comparison_cover[best_p]
predicate.count = self.estimate(current_comparison_cover)
predicate.count = self.estimate(current_comparison_cover) # type: ignore
candidates[predicate] = real_match_cover
sample_predicates.remove(best_p)

Expand Down

0 comments on commit 467bed7

Please sign in to comment.