🚨 pre-commit-ci修复格式错误

This commit is contained in:
pre-commit-ci[bot] 2023-09-25 07:36:43 +00:00 committed by qwerdvd
parent ee2696e5b6
commit d4ac33544d
2 changed files with 3 additions and 3 deletions

View File

@ -167,7 +167,7 @@ class LocustRecordInfo(Struct):
start_h: Union[int, None] = None start_h: Union[int, None] = None
# def __setitem__(self, key: str, value: Any) -> None: # def __setitem__(self, key: str, value: Any) -> None:
# self.__dict__[key] = value # self.__dict__[key] = value
class LocustRecord(Struct): class LocustRecord(Struct):

View File

@ -1,7 +1,7 @@
import math import math
from pathlib import Path from pathlib import Path
from typing import List, Union, Optional from typing import List, Union, Optional
import msgspec
from PIL import Image, ImageDraw from PIL import Image, ImageDraw
from gsuid_core.logger import logger from gsuid_core.logger import logger
from gsuid_core.utils.error_reply import get_error from gsuid_core.utils.error_reply import get_error
@ -287,7 +287,7 @@ async def draw_rogue_img(
else: else:
detail_h = 0 detail_h = 0
based_h = based_h + detail_h based_h = based_h + detail_h
# 获取查询者数据 # 获取查询者数据
if floor: if floor:
if floor > 7: if floor > 7: