Skip to content

Commit 3b019cb

Browse files
[pre-commit.ci] Auto fixes from pre-commit.com hooks.
1 parent 995d860 commit 3b019cb

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

games/baldursgate3/bg3_data_checker.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import mobase
2-
32
from basic_features import BasicModDataChecker, utils
43

54

games/baldursgate3/bg3_utils.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1+
import functools
12
import json
23
import os
34
import shutil
4-
import functools
5-
from pathlib import Path
65
import typing
6+
from pathlib import Path
77

8-
import mobase
98
import yaml
109
from PyQt6.QtCore import (
1110
QCoreApplication,
12-
Qt,
13-
qInfo,
14-
qWarning,
11+
QDir,
1512
QEventLoop,
1613
QRunnable,
17-
QDir,
18-
QThreadPool,
14+
Qt,
1915
QThread,
16+
QThreadPool,
17+
qInfo,
18+
qWarning,
2019
)
21-
from PyQt6.QtWidgets import QProgressDialog, QMainWindow, QApplication
20+
from PyQt6.QtWidgets import QApplication, QMainWindow, QProgressDialog
2221

23-
from games.baldursgate3 import pak_parser, lslib_retriever
22+
import mobase
23+
from games.baldursgate3 import lslib_retriever, pak_parser
2424

2525

2626
class BG3Utils:

games/baldursgate3/lslib_retriever.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from functools import cached_property
77

88
from PyQt6.QtCore import qDebug, qWarning
9-
from PyQt6.QtWidgets import QMessageBox, QApplication
9+
from PyQt6.QtWidgets import QApplication, QMessageBox
1010

1111
from games.baldursgate3 import bg3_utils
1212

games/baldursgate3/pak_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import configparser
22
import hashlib
3+
import itertools
34
import os
45
import re
56
import shutil
6-
import itertools
77
import subprocess
88
import traceback
99
from functools import cached_property
@@ -12,13 +12,13 @@
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
2222
from games.baldursgate3 import bg3_utils
2323

2424

games/game_baldursgate3.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from pathlib import Path
88
from typing import Any, Callable
99

10-
import mobase
1110
import yaml
1211
from PyQt6.QtCore import (
1312
qDebug,
@@ -18,6 +17,8 @@
1817
QApplication,
1918
)
2019

20+
import mobase
21+
2122
from ..basic_features import (
2223
BasicGameSaveGameInfo,
2324
BasicLocalSavegames,

0 commit comments

Comments
 (0)