mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Add type hints for compiled modules
This commit is contained in:
7
qt/pe/block.pyi
Normal file
7
qt/pe/block.pyi
Normal 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]: ...
|
||||
Reference in New Issue
Block a user