🔧 修改 basedpyright 配置 (#573)

* 🔧 修改 basedpyright 配置

* 🚨 auto fix by pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
呵呵です
2025-12-25 22:32:25 +08:00
committed by GitHub
parent a4ffb6bbc6
commit fcecf5a01f
16 changed files with 43 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
from abc import abstractmethod
from abc import ABC, abstractmethod
from datetime import datetime
from typing import Literal
@@ -8,7 +8,7 @@ from strenum import StrEnum
from ...typedefs import Lang, Number
class Base(BaseModel):
class Base(BaseModel, ABC):
@property
@abstractmethod
def path(self) -> str: