mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Add typing information for mypy
This commit is contained in:
parent
460dffe82b
commit
be7e59e71a
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue