Closed
Description
For the following code:
81: @click.version_option(
82: __version__, '-V', '--version',
83: message=f'%(prog)s, v%(version)s\n\n{__copyright__}')
I get this error.
cli.py:81: error: Unexpected keyword argument "message" for "version_option"
.venv/lib/mypy/typeshed/third_party/2and3/click/decorators.pyi:174: note: "version_option" defined here
No time to fix, but here to keep track.
Metadata
Metadata
Assignees
Labels
No labels