python / mypy

Optional static typing for Python
https://www.mypy-lang.org/
Other
17.85k stars 2.74k forks source link

Fix previous partial fix #17429

Closed ilevkivskyi closed 1 week ago

ilevkivskyi commented 1 week ago

This is a bit unfortunate, but the best we can probably do.

cc @hauntsaninja

github-actions[bot] commented 1 week ago

Diff from mypy_primer, showing the effect of this PR on open source code:

ibis (https://github.com/ibis-project/ibis)
- ibis/backends/sql/datatypes.py: error: "int" not callable  [operator]
- ibis/backends/sql/datatypes.py:31: error: Too many arguments for "__call__"  [call-arg]
- ibis/backends/sql/datatypes.py:48: error: Too many arguments for "__call__"  [call-arg]