Skip to content

Commit a572a68

Browse files
committed
Fix ruff E402: move imports to top of file in dedupe.py
1 parent 352e0e9 commit a572a68

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bookmark_checker/core/dedupe.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
from collections import defaultdict
44
from typing import TYPE_CHECKING, Any
55

6+
from bookmark_checker.core.models import Bookmark, BookmarkCollection
7+
from bookmark_checker.core.utils import domain_from_url, normalize_whitespace
8+
69
if TYPE_CHECKING:
710
from rapidfuzz import fuzz as fuzz_module
811
else:
@@ -13,9 +16,6 @@
1316

1417
fuzz = fuzz_module
1518

16-
from bookmark_checker.core.models import Bookmark, BookmarkCollection
17-
from bookmark_checker.core.utils import domain_from_url, normalize_whitespace
18-
1919

2020
def annotate_canonical(collection: BookmarkCollection) -> None:
2121
"""

0 commit comments

Comments
 (0)