Skip to content

Commit 014d7e3

Browse files
committed
Unused pyright ignore
1 parent 0ba0179 commit 014d7e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def __cv2_scipy_compute_phash(image: MatLike, hash_size: int, highfreq_factor: i
103103
median = np.median(dct_low_frequency)
104104
return dct_low_frequency > median
105105

106-
def __cv2_phash(source: MatLike, capture: MatLike, hash_size: int = 8): # pyright: ignore[reportRedeclaration]
106+
def __cv2_phash(source: MatLike, capture: MatLike, hash_size: int = 8):
107107
source_hash = __cv2_scipy_compute_phash(source, hash_size)
108108
capture_hash = __cv2_scipy_compute_phash(capture, hash_size)
109109
hash_diff = np.count_nonzero(source_hash != capture_hash)

0 commit comments

Comments
 (0)