Skip to content

Commit aed6e72

Browse files
[pre-commit.ci] Auto fixes from pre-commit.com hooks.
1 parent 503dc95 commit aed6e72

5 files changed

Lines changed: 11 additions & 7 deletions

File tree

games/baldursgate3/bg3_data_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import mobase
44

5+
from ...basic_features import BasicModDataChecker, GlobPatterns, utils
56
from . import bg3_utils
6-
from ...basic_features import BasicModDataChecker, utils, GlobPatterns
77

88

99
class BG3ModDataChecker(BasicModDataChecker):

games/baldursgate3/bg3_file_mapper.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
from pathlib import Path
55
from typing import Callable, Optional
66

7-
import mobase
87
import yaml
9-
from PyQt6.QtCore import qInfo, qDebug, qWarning, QDir
8+
from PyQt6.QtCore import QDir, qDebug, qInfo, qWarning
109
from PyQt6.QtWidgets import QApplication
1110

11+
import mobase
12+
1213
from . import bg3_utils
1314

1415

games/baldursgate3/bg3_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import typing
66
from pathlib import Path
77

8-
import mobase
98
import yaml
109
from PyQt6.QtCore import (
1110
QCoreApplication,
@@ -20,6 +19,8 @@
2019
)
2120
from PyQt6.QtWidgets import QApplication, QMainWindow, QProgressDialog
2221

22+
import mobase
23+
2324
loose_file_folders = {
2425
"Public",
2526
"Mods",

games/baldursgate3/pak_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
from xml.etree import ElementTree
1313
from xml.etree.ElementTree import Element
1414

15-
import mobase
1615
from PyQt6.QtCore import (
1716
qDebug,
1817
qInfo,
1918
qWarning,
2019
)
2120

21+
import mobase
22+
2223
from . import bg3_utils
2324

2425

games/game_baldursgate3.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@
66
from pathlib import Path
77
from typing import Any
88

9-
import mobase
109
from PyQt6.QtCore import (
1110
qDebug,
1211
qInfo,
1312
)
1413

15-
from .baldursgate3 import bg3_file_mapper
14+
import mobase
15+
1616
from ..basic_features import (
1717
BasicGameSaveGameInfo,
1818
BasicLocalSavegames,
1919
)
2020
from ..basic_game import BasicGame
21+
from .baldursgate3 import bg3_file_mapper
2122

2223

2324
class BG3Game(BasicGame, bg3_file_mapper.BG3FileMapper):

0 commit comments

Comments
 (0)