Skip to content

Mypy failing #4

Open
Open
@andrewthetechie

Description

Mypy is currently failing. In CI, it is in "fail-open" mode as to not prevent merges.

I was able to clean up most of the failures, but have not been able to track down/fix the last 3 errors

pydantic_aioredis/model.py:134: error: Incompatible types in assignment (expression has type "Generator[Any, None, None]", variable has type "AsyncIterator[Any]")
pydantic_aioredis/store.py:18: error: Invalid type comment or annotation
pydantic_aioredis/store.py:18: note: Suggestion: use type[...] instead of type(...)
pydantic_aioredis/store.py:41: error: Invalid type comment or annotation
pydantic_aioredis/store.py:41: note: Suggestion: use type[...] instead of type(...)
Found 3 errors in 2 files (checked 6 source files)
Makefile:40: recipe for target 'mypy' failed

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershacktoberfestGood hacktoberfest issuehelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions