mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
- 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
12 lines
234 B
Python
12 lines
234 B
Python
from typing import TextIO
|
|
|
|
class YAMLError(Exception): ...
|
|
|
|
def safe_load(stream: str | TextIO) -> object: ...
|
|
def dump(
|
|
data: object,
|
|
stream: TextIO | None = ...,
|
|
*args: object,
|
|
**kwargs: object,
|
|
) -> str | None: ...
|