Skip to content

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' #243

@serhiy-yevtushenko

Description

@serhiy-yevtushenko

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions