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

This commit is contained in:
pre-commit-ci[bot] 2023-09-30 08:17:46 +00:00 committed by qwerdvd
parent 14d83c22e9
commit e6a02824ac
3 changed files with 6 additions and 3 deletions

View File

@ -22,7 +22,9 @@ gacha_type_meta_data = {
async def get_new_gachalog_by_link( async def get_new_gachalog_by_link(
uid: str, gacha_url: str, full_data: Dict, is_force: bool uid: str, gacha_url: str, full_data: Dict, is_force: bool
): ):
full_data = msgspec.convert(full_data, type=Dict[str, List[SingleGachaLog]]) full_data = msgspec.convert(
full_data, type=Dict[str, List[SingleGachaLog]]
)
temp = [] temp = []
for gacha_name in gacha_type_meta_data: for gacha_name in gacha_type_meta_data:
for gacha_type in gacha_type_meta_data[gacha_name]: for gacha_type in gacha_type_meta_data[gacha_name]:

View File

@ -1,6 +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
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