Files
AstrBot/types/deprecated.pyi
LIghtJUNction 7ff6df9853 chore: add type stubs and update pyproject.toml configuration
- Add type stubs for external packages (faiss, psutil, readability, etc.)
- Move typings to types/ directory
- Update pyproject.toml with mypy plugin configuration
- Add project URLs (Homepage, Repository)
- Update python version to 3.12 in pyright config
2026-03-31 20:14:35 +08:00

7 lines
189 B
Python

from collections.abc import Callable
from typing import TypeVar
_F = TypeVar("_F", bound=Callable[..., object])
def deprecated(*args: object, **kwargs: object) -> Callable[[_F], _F]: ...