[pre-commit.ci] Pre-commit autoupdate. (#214)

This commit is contained in:
pre-commit-ci[bot]
2026-04-07 07:56:07 +02:00
committed by GitHub
parent 1ff1ee4ea6
commit e293a98ab8
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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]
+3 -2
View File
@@ -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: