From 5617db3f5a5e403f11fcb8313091f62a50f369b2 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Fri, 29 Mar 2024 21:48:07 +0800 Subject: [PATCH] :lipstick: Format with black 24.x.x --- setup.py | 1 + simnet/client/components/daily.py | 1 + simnet/models/genshin/calculator.py | 1 + simnet/models/starrail/calculator.py | 1 + simnet/models/starrail/character.py | 1 + simnet/models/starrail/chronicle/activity.py | 1 + simnet/models/starrail/chronicle/base.py | 1 + simnet/models/starrail/chronicle/challenge.py | 1 + simnet/models/starrail/chronicle/challenge_story.py | 1 + simnet/models/starrail/chronicle/characters.py | 1 + simnet/models/starrail/chronicle/museum.py | 1 + simnet/models/starrail/chronicle/rogue.py | 1 + simnet/models/starrail/chronicle/stats.py | 1 + simnet/utils/cookies.py | 1 + 14 files changed, 14 insertions(+) diff --git a/setup.py b/setup.py index 41bebc2..970d2d5 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ """Run setuptools.""" + from pathlib import Path from setuptools import find_packages, setup diff --git a/simnet/client/components/daily.py b/simnet/client/components/daily.py index c5035f7..ed6694e 100644 --- a/simnet/client/components/daily.py +++ b/simnet/client/components/daily.py @@ -1,4 +1,5 @@ """Daily reward component.""" + import asyncio from typing import Optional, Dict, Any, List diff --git a/simnet/models/genshin/calculator.py b/simnet/models/genshin/calculator.py index 01ec501..b6629dd 100644 --- a/simnet/models/genshin/calculator.py +++ b/simnet/models/genshin/calculator.py @@ -1,4 +1,5 @@ """Genshin calculator models.""" + import collections from typing import Dict, Any, Literal, Optional, List diff --git a/simnet/models/starrail/calculator.py b/simnet/models/starrail/calculator.py index f90320f..cd5c56e 100644 --- a/simnet/models/starrail/calculator.py +++ b/simnet/models/starrail/calculator.py @@ -1,4 +1,5 @@ """Starrail calculator models.""" + from typing import Dict, Any, Optional, List from pydantic import Field, validator diff --git a/simnet/models/starrail/character.py b/simnet/models/starrail/character.py index 9242d47..e02af7b 100644 --- a/simnet/models/starrail/character.py +++ b/simnet/models/starrail/character.py @@ -1,4 +1,5 @@ """Starrail base character model.""" + from enum import Enum from simnet.models.base import APIModel diff --git a/simnet/models/starrail/chronicle/activity.py b/simnet/models/starrail/chronicle/activity.py index 843fab2..29f8321 100644 --- a/simnet/models/starrail/chronicle/activity.py +++ b/simnet/models/starrail/chronicle/activity.py @@ -1,4 +1,5 @@ """Starrail chronicle activity.""" + from typing import List, Optional, Dict from simnet.models.base import APIModel diff --git a/simnet/models/starrail/chronicle/base.py b/simnet/models/starrail/chronicle/base.py index 1080fb4..dd33819 100644 --- a/simnet/models/starrail/chronicle/base.py +++ b/simnet/models/starrail/chronicle/base.py @@ -1,4 +1,5 @@ """Starrail Chronicle Base Model.""" + import datetime from typing import Optional diff --git a/simnet/models/starrail/chronicle/challenge.py b/simnet/models/starrail/chronicle/challenge.py index 4fc6b96..6b8cdfa 100644 --- a/simnet/models/starrail/chronicle/challenge.py +++ b/simnet/models/starrail/chronicle/challenge.py @@ -1,4 +1,5 @@ """Starrail chronicle challenge.""" + from typing import List from pydantic import Field diff --git a/simnet/models/starrail/chronicle/challenge_story.py b/simnet/models/starrail/chronicle/challenge_story.py index 7fc852c..ce4cae7 100644 --- a/simnet/models/starrail/chronicle/challenge_story.py +++ b/simnet/models/starrail/chronicle/challenge_story.py @@ -1,4 +1,5 @@ """Starrail chronicle challenge story.""" + from typing import List, Optional from pydantic import Field diff --git a/simnet/models/starrail/chronicle/characters.py b/simnet/models/starrail/chronicle/characters.py index b1b18e3..dd5b74d 100644 --- a/simnet/models/starrail/chronicle/characters.py +++ b/simnet/models/starrail/chronicle/characters.py @@ -1,4 +1,5 @@ """Starrail chronicle character.""" + from typing import List, Optional, Any, Dict from pydantic import validator diff --git a/simnet/models/starrail/chronicle/museum.py b/simnet/models/starrail/chronicle/museum.py index ed47b62..6f931ea 100644 --- a/simnet/models/starrail/chronicle/museum.py +++ b/simnet/models/starrail/chronicle/museum.py @@ -1,4 +1,5 @@ """Starrail Museum models.""" + from typing import List from simnet.models.base import APIModel diff --git a/simnet/models/starrail/chronicle/rogue.py b/simnet/models/starrail/chronicle/rogue.py index 1e4eb8e..723d3c1 100644 --- a/simnet/models/starrail/chronicle/rogue.py +++ b/simnet/models/starrail/chronicle/rogue.py @@ -1,4 +1,5 @@ """Starrail Rogue models.""" + from typing import List from simnet.models.base import APIModel diff --git a/simnet/models/starrail/chronicle/stats.py b/simnet/models/starrail/chronicle/stats.py index 22a6199..448f1e2 100644 --- a/simnet/models/starrail/chronicle/stats.py +++ b/simnet/models/starrail/chronicle/stats.py @@ -1,4 +1,5 @@ """Starrail chronicle stats.""" + import typing from pydantic import Field diff --git a/simnet/utils/cookies.py b/simnet/utils/cookies.py index a85d113..f85d1c6 100644 --- a/simnet/utils/cookies.py +++ b/simnet/utils/cookies.py @@ -1,4 +1,5 @@ """A module for parsing cookies.""" + from http.cookies import SimpleCookie from typing import Dict