1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 06:37:17 +00:00

Add type hints for compiled modules

This commit is contained in:
2022-04-30 05:11:54 -05:00
parent 81c593399e
commit d73a85b82e
3 changed files with 26 additions and 0 deletions

7
qt/pe/block.pyi Normal file
View File

@@ -0,0 +1,7 @@
from typing import Tuple, List, Union
from PyQt5.QtGui import QImage
_block = Tuple[int, int, int]
def getblock(image: QImage) -> _block: ... # noqa: E302
def getblocks(image: QImage, block_count_per_side: int) -> Union[List[_block], None]: ...