Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mypy refuses to check #192

Open
emanueljg opened this issue Sep 5, 2023 · 0 comments
Open

mypy refuses to check #192

emanueljg opened this issue Sep 5, 2023 · 0 comments

Comments

@emanueljg
Copy link

Since 0.8.5 I've understood it as fastapi-crudrouter being typechecking-compliant as it includes a py.typed file, but despite this I get this error:

❯ mypy . --strict | head -n2               
api/main.py:6: error: Skipping analyzing "fastapi_crudrouter": module is installed, but missing library stubs or py.typed marker  [import]
api/main.py:6: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

❯ poetry show | grep 'fastapi-crudrouter'
fastapi-crudrouter 0.8.5    A dynamic FastAPI router that automatically cre...
import fastapi_crudrouter
print(fastapi_crudrouter.__version__)  # 0.8.5

What gives?

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

No branches or pull requests

1 participant