From c24c1d2e611e65514255c6b91ff799897e2f28f6 Mon Sep 17 00:00:00 2001 From: "neiljp (Neil Pilgrim)" Date: Wed, 15 Nov 2017 11:01:11 -0800 Subject: [PATCH] mypy: Add 'type: ignore' comment due to patching function. --- zulip/zulip/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 5e77afb..9a529ba 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -113,7 +113,7 @@ def add_default_arguments(parser, patch_error_handling=True, allow_provisioning= # type: (Any, str) -> None self.print_help(sys.stderr) self.exit(2, '{}: error: {}\n'.format(self.prog, message)) - parser.error = types.MethodType(custom_error_handling, parser) # type: ignore + parser.error = types.MethodType(custom_error_handling, parser) # type: ignore # patching function if allow_provisioning: parser.add_argument('--provision',