diff --git a/mypy.ini b/mypy.ini index 4c35cf1d53e..fe03c3bbe12 100644 --- a/mypy.ini +++ b/mypy.ini @@ -19,3 +19,7 @@ exclude= cylc/flow/etc/tutorial/.* # Suppress the following messages: # By default the bodies of untyped functions are not checked, consider using --check-untyped-defs disable_error_code = annotation-unchecked + +# For some reason, couldn't exclude this with the exclude directive above +[mypy-cylc.flow.data_messages_pb2] +ignore_errors = True