🎨 Format the code

This commit is contained in:
Karako 2024-03-17 06:04:37 +08:00
parent c6be4e467a
commit 5f9d2184c4
No known key found for this signature in database
2 changed files with 3 additions and 10 deletions

View File

@ -4,19 +4,13 @@ from abc import ABC, abstractmethod
from collections import Counter
from multiprocessing import RLock
from ssl import SSLZeroReturnError
from typing import TypeVar, ParamSpec, final, Iterable
from typing import Iterable, ParamSpec, TypeVar, final
from httpx import AsyncClient, HTTPError
from core.dependence.assets import AssetsService
from plugins.genshin.farming._const import AREAS, INTERVAL, RETRY_TIMES, WEEK_MAP
from plugins.genshin.farming._model import (
FarmingData,
MaterialData,
AreaData,
AvatarData,
WeaponData,
)
from plugins.genshin.farming._model import (AreaData, AvatarData, FarmingData, MaterialData, WeaponData)
from utils.log import logger
__all__ = ("Spider",)

View File

@ -2,7 +2,6 @@ import asyncio
from asyncio import Lock
from copy import deepcopy
from datetime import datetime
from functools import partial
from typing import ParamSpec, TYPE_CHECKING, TypeVar
import aiofiles
@ -16,7 +15,7 @@ from core.dependence.assets import AssetsService
from gram_core.plugin import Plugin, handler
from gram_core.services.template.models import FileType, RenderGroupResult
from gram_core.services.template.services import TemplateService
from plugins.genshin.farming._const import AREAS, INTERVAL
from plugins.genshin.farming._const import AREAS
from plugins.genshin.farming._model import AreaData, AvatarData, FullFarmingData, RenderData, UserOwned, WeaponData
from plugins.genshin.farming._spider import Spider
from plugins.tools.genshin import CharacterDetails, CookiesNotFoundError, GenshinHelper, PlayerNotFoundError