Skip to content

Commit 424aba1

Browse files
[pre-commit.ci] Auto fixes from pre-commit.com hooks.
1 parent e9e83e0 commit 424aba1

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

games/game_monsterhunterwilds.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import uuid
21
import re
2+
import uuid
33
from pathlib import Path
44
from typing import Iterable
55

6-
import mobase
76
from PyQt6.QtCore import QDir
87

8+
import mobase
9+
910
from ..basic_features import BasicModDataChecker, GlobPatterns
1011
from ..basic_game import BasicGame
1112

@@ -91,18 +92,14 @@ def _rename_paks(self):
9192

9293
for mod_path in self._active_mod_paths():
9394
for pak_path in self._root_paks(mod_path):
94-
target_name = (
95-
f"re_chunk_000.pak.sub_000.pak.patch_{next_patch:03d}.pak"
96-
)
95+
target_name = f"re_chunk_000.pak.sub_000.pak.patch_{next_patch:03d}.pak"
9796
pak_files.append((pak_path, mod_path / target_name))
9897
next_patch += 1
9998

10099
overwrite_path = self._overwrite_path()
101100
if overwrite_path.exists():
102101
for pak_path in self._root_paks(overwrite_path):
103-
target_name = (
104-
f"re_chunk_000.pak.sub_000.pak.patch_{next_patch:03d}.pak"
105-
)
102+
target_name = f"re_chunk_000.pak.sub_000.pak.patch_{next_patch:03d}.pak"
106103
pak_files.append((pak_path, overwrite_path / target_name))
107104
next_patch += 1
108105

@@ -123,5 +120,3 @@ def _onAboutToRun(self, app_path_str: str, wd: QDir, args: str) -> bool:
123120
if Path(app_path_str) == self._game_root() / self.binaryName():
124121
self._rename_paks()
125122
return True
126-
127-

0 commit comments

Comments
 (0)