mypy: Remove 'type: ignore's now that python/mypy#1248 is fixed.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-11-15 09:02:07 -08:00 committed by Tim Abbott
parent 03f5e9110b
commit 3e55124f4e
2 changed files with 2 additions and 2 deletions

View file

@ -360,7 +360,7 @@ option does not affect login credentials.'''.replace("\n", " "))
const=logging.DEBUG,
default=logging.INFO)
jabber_group = optparse.OptionGroup(parser, "Jabber configuration") # type: ignore # https://github.com/python/typeshed/pull/1248
jabber_group = optparse.OptionGroup(parser, "Jabber configuration")
jabber_group.add_option(
'--jid',
default=None,

View file

@ -181,7 +181,7 @@ def generate_option_group(parser, prefix=''):
is now deprecated. We recommend migrating to argparse and
using zulip.add_default_arguments instead.""")
group = optparse.OptionGroup(parser, 'Zulip API configuration') # type: ignore # https://github.com/python/typeshed/pull/1248
group = optparse.OptionGroup(parser, 'Zulip API configuration')
group.add_option('--%ssite' % (prefix,),
dest="zulip_site",
help="Zulip server URI",