You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click's simple example https://github.com/pallets/click#a-simple-example doesn't pass mypy 1.4.1 since 8.1.4. With click 8.1.3 the example did pass. This affects not only the simple example but also existing projects that use click. I ran mypy on one of my projects and everything passed, ran it 30 minutes later and saw failures out of the blue. Click 8.1.4 was published to PyPI between my checks.
To reproduce:
Save the simple example as click.py
pip install mypy==1.4.1 click==8.1.3
mypy click.py
This is the output:
click.py:3: error: Argument 1 has incompatible type "Callable[[Any, Any], Any]"; expected <nothing> [arg-type]
click.py:12: error: <nothing> not callable [misc]
Click's simple example https://github.com/pallets/click#a-simple-example doesn't pass mypy 1.4.1 since 8.1.4. With click 8.1.3 the example did pass. This affects not only the simple example but also existing projects that use click. I ran mypy on one of my projects and everything passed, ran it 30 minutes later and saw failures out of the blue. Click 8.1.4 was published to PyPI between my checks.
To reproduce:
pip install mypy==1.4.1 click==8.1.3mypy click.pyThis is the output:
Environment: