import sys
import tempfile
import fnmatch
+from typing import Dict
# globals
return 0 # success
-gpghomes = dict() # committer email to TemporaryDirectory(), auto-delete on program exit
+gpghomes : Dict[str, tempfile.TemporaryDirectory] = dict() # committer email to TemporaryDirectory(), auto-delete on program exit
def find_gpghome(committer):
"""Find or create a gpg homedir for given committer. It should include
only this person's approved signing keys."""