diff --git a/mypy_protobuf/main.py b/mypy_protobuf/main.py index 41ba3b11..05044050 100644 --- a/mypy_protobuf/main.py +++ b/mypy_protobuf/main.py @@ -708,7 +708,7 @@ def write_grpc_methods(self, service: d.ServiceDescriptorProto, scl_prefix: Sour ") -> {}:{}", self._output_type(method), " ..." if not self._has_comments(scl) else "", - ), + ) if self._has_comments(scl): with self._indent(): if not self._write_comments(scl):