Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Dec 19, 2023
1 parent 69a710c commit 4ec3977
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dedupe/branch_and_bound.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
from __future__ import annotations

Check warning on line 1 in dedupe/branch_and_bound.py

View check run for this annotation

Codecov / codecov/patch

dedupe/branch_and_bound.py#L1

Added line #L1 was not covered by tests

import functools
import warnings
from typing import Any, Iterable, Mapping, Sequence, Tuple
from typing import Any, Iterable, Mapping, Sequence

Check warning on line 5 in dedupe/branch_and_bound.py

View check run for this annotation

Codecov / codecov/patch

dedupe/branch_and_bound.py#L3-L5

Added lines #L3 - L5 were not covered by tests

from ._typing import Cover
from .predicates import Predicate

Check warning on line 8 in dedupe/branch_and_bound.py

View check run for this annotation

Codecov / codecov/patch

dedupe/branch_and_bound.py#L7-L8

Added lines #L7 - L8 were not covered by tests

Partial = Tuple[Predicate, ...]
Partial = tuple[Predicate, ...]

Check warning on line 10 in dedupe/branch_and_bound.py

View check run for this annotation

Codecov / codecov/patch

dedupe/branch_and_bound.py#L10

Added line #L10 was not covered by tests


def _reachable(dupe_cover: Mapping[Any, frozenset[int]]) -> int:
Expand Down

0 comments on commit 4ec3977

Please sign in to comment.