mypy: Add type: ignores for optparse.OptionGroup.
Typeshed has already fixed this upstream (Description is optional)
This commit is contained in:
parent
00dbd26500
commit
f124531a88
3 changed files with 3 additions and 3 deletions
|
@ -105,7 +105,7 @@ def _default_client():
|
|||
|
||||
def generate_option_group(parser, prefix=''):
|
||||
# type: (optparse.OptionParser, str) -> optparse.OptionGroup
|
||||
group = optparse.OptionGroup(parser, 'Zulip API configuration')
|
||||
group = optparse.OptionGroup(parser, 'Zulip API configuration') # type: ignore # https://github.com/python/typeshed/pull/1248
|
||||
group.add_option('--%ssite' % (prefix,),
|
||||
dest="zulip_site",
|
||||
help="Zulip server URI",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue