]> git.scottworley.com Git - pinch/commitdiff
Add missing type annotation
authorScott Worley <scottworley@scottworley.com>
Fri, 22 May 2020 23:54:41 +0000 (16:54 -0700)
committerScott Worley <scottworley@scottworley.com>
Fri, 22 May 2020 23:54:41 +0000 (16:54 -0700)
pinch.py

index 787555f1c9a3c06831d52139b673a3e7e4e8087f..ad493344a65d7d07e05c92b882f49dc8f01f7a0a 100644 (file)
--- a/pinch.py
+++ b/pinch.py
@@ -496,7 +496,7 @@ def pin(args: argparse.Namespace) -> None:
 def update(args: argparse.Namespace) -> None:
     v = Verification()
     config = configparser.ConfigParser()
-    exprs = {}
+    exprs: Dict[str, str] = {}
     configs = [read_config(filename) for filename in args.channels_file]
     for config in configs:
         for section in config.sections():