Silence some pytype errors.

PiperOrigin-RevId: 485526322
Change-Id: I55541b3f7c2f8e89efef0d37bbd2ef4e330bd3e7
This commit is contained in:
Rebecca Chen 2022-11-02 01:08:02 -07:00 committed by Copybara-Service
parent 4b56d5606d
commit 3abfefaf3b

View File

@ -284,7 +284,8 @@ class Type(object):
return result
# Ignore all cindex.TypeKind.UNEXPOSED AST nodes
return result
# TODO(b/256934562): Remove the disable once the pytype bug is fixed.
return result # pytype: disable=bad-return-type
def _get_related_types_of_typedef(self, result):
# type: (Set[Type]) -> Set[Type]