Bug with mypy plugin
thomasborgen opened this issue · 2 comments
thomasborgen commented
Bug report
What's wrong
mypy plugin is not working
setup.cfg:2: error: Error importing plugin "classes.contrib.mypy.classes_plugin": cannot import name 'TypeVarDef' from 'mypy.types' (/home/thomas/opensource/classes-mypy-problem/.venv/lib/python3.9/site-packages/mypy/types.cpython-39-x86_64-linux-gnu.so)
How is that should be
poetry run mypy .
should work ^^
heres a repo that reproduces the issue:
System information
python
version: 3.9.7classes
version: 0.4.0mypy
version: 0.921
sobolevn commented
classes
is not yet compatible with mypy>=0.920
thomasborgen commented
Sry, my bad, I just saw that this was merged #343
And didn't think it through that that was just dev dependencies for classes ^^.
And thanks for lightning speed reply!