Use AbstractSet to appease mypy
diff --git a/pre_commit_hooks/no_commit_to_branch.py b/pre_commit_hooks/no_commit_to_branch.py
index a1015f4..3131059 100644
--- a/pre_commit_hooks/no_commit_to_branch.py
+++ b/pre_commit_hooks/no_commit_to_branch.py
@@ -2,7 +2,7 @@
 
 import argparse
 import re
-from typing import FrozenSet
+from typing import AbstractSet
 from typing import Optional
 from typing import Sequence
 
@@ -11,7 +11,7 @@
 
 
 def is_on_branch(protected, patterns=frozenset()):
-    # type: (FrozenSet[str], FrozenSet[str]) -> bool
+    # type: (AbstractSet[str], AbstractSet[str]) -> bool
     try:
         ref_name = cmd_output('git', 'symbolic-ref', 'HEAD')
     except CalledProcessError: