Skip to content

Commit e293a98

Browse files
[pre-commit.ci] Pre-commit autoupdate. (#214)
1 parent 1ff1ee4 commit e293a98

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
args: [--fix=lf]
1212
- id: check-case-conflict
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: v0.14.10 # must match pyproject.toml
14+
rev: v0.15.9 # must match pyproject.toml
1515
hooks:
1616
- id: ruff
1717
args: [--extend-select, I, --fix]

games/game_cyberpunk2077.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,9 @@ def _onFinishedRun(self, path: str, exit_code: int) -> None:
551551
hide_cb.setToolTip(f"Settings/Plugins/{self.name()}/crash_message")
552552
crash_message.setCheckBox(hide_cb)
553553
crash_message.open( # type: ignore
554-
lambda: hide_cb.isChecked()
555-
and self._set_setting("crash_message", False)
554+
lambda: (
555+
hide_cb.isChecked() and self._set_setting("crash_message", False)
556+
)
556557
)
557558

558559
def _check_redmod_result(self, result: tuple[bool, int]) -> bool:

0 commit comments

Comments
 (0)