mirror of
https://github.com/ModOrganizer2/modorganizer-basic_games.git
synced 2026-07-27 14:07:29 -07:00
[pre-commit.ci] Pre-commit autoupdate. (#214)
This commit is contained in:
@@ -11,7 +11,7 @@ repos:
|
||||
args: [--fix=lf]
|
||||
- id: check-case-conflict
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.14.10 # must match pyproject.toml
|
||||
rev: v0.15.9 # must match pyproject.toml
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--extend-select, I, --fix]
|
||||
|
||||
@@ -551,8 +551,9 @@ class Cyberpunk2077Game(BasicGame):
|
||||
hide_cb.setToolTip(f"Settings/Plugins/{self.name()}/crash_message")
|
||||
crash_message.setCheckBox(hide_cb)
|
||||
crash_message.open( # type: ignore
|
||||
lambda: hide_cb.isChecked()
|
||||
and self._set_setting("crash_message", False)
|
||||
lambda: (
|
||||
hide_cb.isChecked() and self._set_setting("crash_message", False)
|
||||
)
|
||||
)
|
||||
|
||||
def _check_redmod_result(self, result: tuple[bool, int]) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user