Add Pyright as static type checker

This commit is contained in:
Mike A
2024-02-10 17:25:54 +01:00
parent 34ac209f0d
commit 7d09296565
10 changed files with 148 additions and 86 deletions

7
findmy/util/types.py Normal file
View File

@@ -0,0 +1,7 @@
"""Utility types."""
from typing import Coroutine, TypeVar
T = TypeVar("T")
MaybeCoro = T | Coroutine[None, None, T]