Skip to content

Commit e28597b

Browse files
committed
linting fixes
1 parent 337b17c commit e28597b

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## v1.9 (Upcoming)
44

5+
### BL3 Mod Menu v1.7
6+
- Upgraded to support unrealsdk v2.0.0
7+
- Linting fixes.
8+
59
### [Console Mod Menu v1.6](https://github.com/bl-sdk/console_mod_menu/blob/master/Readme.md#v16)
610
> - Linting fixes.
711

src/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
class ModInfo:
4747
module: str
4848
location: Path
49-
duplicates: list[ModInfo] = field(default_factory=list)
49+
duplicates: list[ModInfo] = field(default_factory=list["ModInfo"])
5050

5151

5252
def init_debugpy() -> None:

src/bl3_mod_menu/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"__version_info__",
88
]
99

10-
__version_info__: tuple[int, int] = (1, 6)
10+
__version_info__: tuple[int, int] = (1, 7)
1111
__version__: str = f"{__version_info__[0]}.{__version_info__[1]}"
1212
__author__: str = "bl-sdk"
1313

src/bl3_mod_menu/dialog_box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class vars will be passed as a fallback. These actions are:
8484

8585
_controller_default_idx: int | None = field(default=None, init=False, repr=False)
8686
_result_mapping: dict[str, DialogBoxChoice] = field(
87-
default_factory=dict,
87+
default_factory=dict[str, DialogBoxChoice],
8888
init=False,
8989
repr=False,
9090
)

0 commit comments

Comments
 (0)