mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-06-30 14:40:09 +02:00
Add typing information for mypy
This commit is contained in:
parent
460dffe82b
commit
be7e59e71a
|
@ -59,6 +59,7 @@ import zipfile
|
|||
import zlib
|
||||
|
||||
from collections import namedtuple
|
||||
from typing import Dict, Tuple, Union
|
||||
|
||||
__version__ = "0.4.0"
|
||||
NAME = "apksigcopier"
|
||||
|
@ -95,7 +96,7 @@ class ZipError(APKSigCopierError):
|
|||
class ReproducibleZipInfo(zipfile.ZipInfo):
|
||||
"""Reproducible ZipInfo hack."""
|
||||
|
||||
_override = {}
|
||||
_override = {} # type: Dict[str, Union[int, Tuple[int, ...]]]
|
||||
|
||||
def __init__(self, zinfo, **override):
|
||||
if override:
|
||||
|
|
Loading…
Reference in New Issue
Block a user