sqlalchemy-stubs are installed in conda environment and entered in mypy.ini, but in pre-commit, one gets error: Error importing plugin "sqlmypy": No module named 'sqlmypy'
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 28/100
Research direction
Start by reproducing the reported pre-commit mypy run with Python 3.8, mypy 0.961, and sqlalchemy-stubs 0.4. Inspect the mypy.ini entry for the sqlmypy plugin and the pre-commit configuration; done means the plugin imports successfully and mypy analysis runs without this error.
Written by the indexing model from the issue text.
Description
I have installed sqlaclhemy-stubs in my local environment (I have tried both versions from pypi and the development version from the github), but when I tried to run mypy analysis via pre-commit, I'm getting the following error message from the mypy:
mypy.ini:6:1: error: Error importing plugin "sqlmypy": No module named 'sqlmypy'
python version is 3.8
mypy version is 0.961
sqlalchemy-stubs version is 0.4
- Dominant language
- Python
- Stars
- 584
- Forks
- 96
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dropbox/sqlalchemy-stubs
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
dropbox/sqlalchemy-stubs#262 · 2 comments · 12 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
dropbox/sqlalchemy-stubs#257 · 3 comments · 4 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dropbox/sqlalchemy-stubs#254 ·
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
dropbox/sqlalchemy-stubs#253 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
dropbox/sqlalchemy-stubs#252 · 3 reactions ·
All issues in dropbox/sqlalchemy-stubs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100