Skip to content

Commit 9ab69f7

Browse files
committed
mypy: Add 'type: ignore' comment due to patching function.
1 parent 5cf9243 commit 9ab69f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zulip/zulip/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def custom_error_handling(self, message):
113113
# type: (Any, str) -> None
114114
self.print_help(sys.stderr)
115115
self.exit(2, '{}: error: {}\n'.format(self.prog, message))
116-
parser.error = types.MethodType(custom_error_handling, parser) # type: ignore
116+
parser.error = types.MethodType(custom_error_handling, parser) # type: ignore # patching function
117117

118118
if allow_provisioning:
119119
parser.add_argument('--provision',

0 commit comments

Comments
 (0)