Re-implement pHash
comparison using cv2
. Drop imagehash
+Pillow
#634
lint-and-build.yml
on: pull_request
Matrix: Build
Matrix: Pyright
Matrix: ruff
Annotations
9 errors and 3 warnings
Pyright (3.11):
src/compare.py#L101
Type of "dct" is partially unknown
Type of "dct" is "(x: Unknown, type: int = 2, n: Unknown | None = None, axis: int = -1, norm: Unknown | None = None, overwrite_x: bool = False, workers: Unknown | None = None, orthogonalize: Unknown | None = None) -> tuple[Dispatchable]" (reportUnknownMemberType)
|
Pyright (3.11):
src/compare.py#L101
Type of "dct" is partially unknown
Type of "dct" is "(x: Unknown, type: int = 2, n: Unknown | None = None, axis: int = -1, norm: Unknown | None = None, overwrite_x: bool = False, workers: Unknown | None = None, orthogonalize: Unknown | None = None) -> tuple[Dispatchable]" (reportUnknownMemberType)
|
Pyright (3.11)
2 errors
|
Pyright (3.12):
src/compare.py#L101
Type of "dct" is partially unknown
Type of "dct" is "(x: Unknown, type: int = 2, n: Unknown | None = None, axis: int = -1, norm: Unknown | None = None, overwrite_x: bool = False, workers: Unknown | None = None, orthogonalize: Unknown | None = None) -> tuple[Dispatchable]" (reportUnknownMemberType)
|
Pyright (3.12):
src/compare.py#L101
Type of "dct" is partially unknown
Type of "dct" is "(x: Unknown, type: int = 2, n: Unknown | None = None, axis: int = -1, norm: Unknown | None = None, overwrite_x: bool = False, workers: Unknown | None = None, orthogonalize: Unknown | None = None) -> tuple[Dispatchable]" (reportUnknownMemberType)
|
Pyright (3.12)
2 errors
|
Pyright (3.10):
src/compare.py#L101
Type of "dct" is partially unknown
Type of "dct" is "(x: Unknown, type: int = 2, n: Unknown | None = None, axis: int = -1, norm: Unknown | None = None, overwrite_x: bool = False, workers: Unknown | None = None, orthogonalize: Unknown | None = None) -> tuple[Dispatchable]" (reportUnknownMemberType)
|
Pyright (3.10):
src/compare.py#L101
Type of "dct" is partially unknown
Type of "dct" is "(x: Unknown, type: int = 2, n: Unknown | None = None, axis: int = -1, norm: Unknown | None = None, overwrite_x: bool = False, workers: Unknown | None = None, orthogonalize: Unknown | None = None) -> tuple[Dispatchable]" (reportUnknownMemberType)
|
Pyright (3.10)
2 errors
|
Pyright (3.11):
src/compare.py#L7
Stub file not found for "scipy.fft" (reportMissingTypeStubs)
|
Pyright (3.12):
src/compare.py#L7
Stub file not found for "scipy.fft" (reportMissingTypeStubs)
|
Pyright (3.10):
src/compare.py#L7
Stub file not found for "scipy.fft" (reportMissingTypeStubs)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
AutoSplit (Python 3.11)
Expired
|
134 MB |
|
AutoSplit (Python 3.12)
Expired
|
133 MB |
|
Build logs (Python 3.11)
Expired
|
2.28 MB |
|
Build logs (Python 3.12)
Expired
|
2.28 MB |
|