From d9a9d942395078df8803f31bfe976653d08ec98b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 18:31:35 +0000 Subject: [PATCH 1/2] [pre-commit.ci] Pre-commit autoupdate. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.10 → v0.15.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.10...v0.15.9) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ae8a99a..7a682eb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] From d9e27d0983ffeff3aae321ae0da850e579703b30 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 18:52:54 +0000 Subject: [PATCH 2/2] [pre-commit.ci] Auto fixes from pre-commit.com hooks. --- games/game_cyberpunk2077.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/games/game_cyberpunk2077.py b/games/game_cyberpunk2077.py index ab44b8b..8358796 100644 --- a/games/game_cyberpunk2077.py +++ b/games/game_cyberpunk2077.py @@ -551,8 +551,9 @@ def _onFinishedRun(self, path: str, exit_code: int) -> None: 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: