1
0
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:
2022-04-30 05:11:54 -05:00
parent 81c593399e
commit d73a85b82e
3 changed files with 26 additions and 0 deletions

6
core/pe/cache.pyi Normal file
View File

@@ -0,0 +1,6 @@
from typing import Union, Tuple, List
_block = Tuple[int, int, int]
def colors_to_string(colors: List[_block]) -> str: ... # noqa: E302
def string_to_colors(s: str) -> Union[List[_block], None]: ...