mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-26 07:41:20 +00:00
🚨 Fix: 修复 ruff lint 错误 (#3346)
This commit is contained in:
@ -33,8 +33,8 @@ async def gen_async():
|
||||
|
||||
@dataclass
|
||||
class ClassDependency:
|
||||
x: int = Depends(gen_sync) # noqa: RUF009
|
||||
y: int = Depends(gen_async) # noqa: RUF009
|
||||
x: int = Depends(gen_sync)
|
||||
y: int = Depends(gen_async)
|
||||
|
||||
|
||||
class FooBot(Bot): ...
|
||||
|
Reference in New Issue
Block a user