Skip to content

mypy refuses to check #192

@emanueljg

Description

@emanueljg

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions