We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
click.argument(..., shell_complete=callable)
Run mypy on a codebase containing:
import click def func(*args): ... click.argument('myarg', shell_completion=func)
mypy doesn't recognise this kwarg at all:
foo.py:7: error: Unexpected keyword argument "shell_completion" for "argument" [call-arg]
Environment:
The text was updated successfully, but these errors were encountered:
Ignore mypy errors for click's shell_complete kwarg
c7f913e
This is absent from click's type inline types somehow. Refs pallets/click#2802
b4c8b01
No branches or pull requests
Run mypy on a codebase containing:
mypy doesn't recognise this kwarg at all:
Environment:
The text was updated successfully, but these errors were encountered: