Skip to content

Fix mypy's missing stubs error - #5

Merged
marian-code merged 3 commits into
marian-code:masterfrom
nmenardg-keeper:update-mypy
Jun 16, 2022
Merged

Fix mypy's missing stubs error#5
marian-code merged 3 commits into
marian-code:masterfrom
nmenardg-keeper:update-mypy

Conversation

@nmenardg-keeper

Copy link
Copy Markdown

I was getting error: Library stubs not installed for "pymysql" (or incompatible with Python 3.8) from mypy
Even though the command ran with --ignore-missing-imports and --follow-imports=silent

I applied the fix from their doc:
https://mypy.readthedocs.io/en/stable/running_mypy.html#library-stubs-not-installed

It fixed my problem.

I also updated mypy to latest version and above (~=)

@marian-code

Copy link
Copy Markdown
Owner

I have never ran myself into that error, so thanks for the fix :)

@marian-code
marian-code merged commit 33c09aa into marian-code:master Jun 16, 2022
@nmenardg-keeper
nmenardg-keeper deleted the update-mypy branch June 28, 2022 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants