hgext/fastannotate/commands.py
changeset 51710 45d5e9a0f6a6
parent 50925 d718eddf01d9
child 51859 f4733654f144
--- a/hgext/fastannotate/commands.py	Tue Jul 23 12:12:22 2024 +0200
+++ b/hgext/fastannotate/commands.py	Thu Jul 18 19:01:55 2024 -0400
@@ -7,6 +7,9 @@
 
 
 import os
+from typing import (
+    Set,
+)
 
 from mercurial.i18n import _
 from mercurial import (
@@ -254,7 +257,7 @@
 
 
 _newopts = set()
-_knownopts = {
+_knownopts: Set[bytes] = {
     opt[1].replace(b'-', b'_')
     for opt in (fastannotatecommandargs['options'] + commands.globalopts)
 }