ssfdust/flask-sqlalchemy-stubs

mypy.ini:2: error: Error importing plugin 'flasksqlamypy': No module named 'flasksqlamypy'

Closed this issue · 5 comments

I added the flasksqlamypy plugin to my mypy.ini as suggested by the docs, but ended up hitting the following error when running mypy:

mypy.ini:2: error: Error importing plugin 'flasksqlamypy': No module named 'flasksqlamypy'

Looking in my site-packages folder, it doesn't appear that flasksqlamypy is getting installed as a top-level module when installing from PyPi.

Does something need to be fixed with the package configuration?

Hello,
this package has not been uploaded to pypi. You probably installed another package.Please try:
pip install git+https://github.com/ssfdust/flask-sqlalchemy-stubs.git --upgrade

I see: thanks for the fast reply, @ssfdust.

Any plans to put this on PyPi? Seems like it could be really useful.

I would like to combine the origin flask-sqlalchemy and this stubs. Because it's not that easy to manage package and its stubs from different versions.

After bryanforbes/gino-stubs#19 is resolved, I will create pr for flask-sqlalchemy.

Awesome, sounds great @ssfdust!

Closed.