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
|
@ -78,7 +78,7 @@ def main(argv=None):
|
|||
parser.add_option('-m', '--message',
|
||||
help='Specifies the message to send, prevents interactive prompting.')
|
||||
|
||||
group = optparse.OptionGroup(parser, 'Stream parameters')
|
||||
group = optparse.OptionGroup(parser, 'Stream parameters') # type: ignore # https://github.com/python/typeshed/pull/1248
|
||||
group.add_option('-s', '--stream',
|
||||
dest='stream',
|
||||
action='store',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue