chore(pre-commit): add pre-commit

This commit is contained in:
MingxuanGame
2025-07-25 20:46:52 +08:00
parent f347b680b2
commit 46c19dddc1
14 changed files with 748 additions and 642 deletions

View File

@@ -4,7 +4,6 @@ from enum import IntEnum
from typing import Any
import msgpack
from pydantic import BaseModel, model_validator
SEP = b"\x1e"
@@ -18,6 +17,7 @@ class PacketType(IntEnum):
PING = 6
CLOSE = 7
class ResultKind(IntEnum):
ERROR = 1
VOID = 2