]> sourceware.org Git - gitsigur.git/commitdiff
gitsigur: add a mypy decl master
authorFrank Ch. Eigler <fche@redhat.com>
Thu, 22 Jun 2023 22:21:40 +0000 (18:21 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Thu, 22 Jun 2023 22:21:40 +0000 (18:21 -0400)
gitsigur

index 960f4d031aebb34f1e4c2fe71468b76b4679a490..746fde568245db826513530470beb277de68402a 100755 (executable)
--- a/gitsigur
+++ b/gitsigur
@@ -11,6 +11,7 @@ import os
 import sys
 import tempfile
 import fnmatch
+from typing import Dict
 
 
 # globals
@@ -128,7 +129,7 @@ def main():
         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."""
This page took 0.030541 seconds and 5 git commands to generate.