Skip to content

Commit f33b5e3

Browse files
committed
Use ruff to format and sort imports
1 parent 6c6049f commit f33b5e3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+19
-202
lines changed

app/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
from .schemas.common import Region, RepoInfo
2525

26-
2726
project_root = Path(__file__).resolve().parents[1]
2827

2928

app/core/basic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
get_translation,
9696
)
9797

98-
9998
settings = Settings()
10099

101100

app/core/nice/ai.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from .skill import get_nice_skill_from_id
1919
from .td import get_nice_td_from_id
2020

21-
2221
settings = Settings()
2322

2423

app/core/nice/base_script.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from ...schemas.common import Region, ScriptLink
77
from ...schemas.nice import AssetURL
88

9-
109
settings = Settings()
1110

1211

app/core/nice/bgm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from .event.shop import get_nice_shop
1515
from .item import get_nice_item_from_raw
1616

17-
1817
settings = Settings()
1918

2019

app/core/nice/buff.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from ..basic import get_nice_buff_script
99
from ..utils import get_traits_list, get_translation
1010

11-
1211
settings = Settings()
1312

1413

app/core/nice/cc.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from ..utils import fmt_url, get_translation
1818
from .skill import get_nice_skill_with_svt
1919

20-
2120
settings = Settings()
2221

2322

app/core/nice/class_board.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
from .item import get_nice_item_amount, get_nice_item_from_raw
3737
from .skill import get_nice_skill_from_raw
3838

39-
4039
settings = Settings()
4140

4241

app/core/nice/enemy_master.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from ..utils import fmt_url
2424
from .common_release import get_nice_common_releases
2525

26-
2726
settings = Settings()
2827

2928

app/core/nice/event/bulletin_board.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
)
1313
from ....schemas.raw import MstEventBulletinBoard, MstEventBulletinBoardRelease
1414

15-
1615
settings = Settings()
1716

1817

0 commit comments

Comments
 (0)