From d126799af7b30c373dd32d8e51b84bd4d4ca90d1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 16:55:58 +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/pycqa/flake8: 7.0.0 → 7.3.0](https://github.com/pycqa/flake8/compare/7.0.0...7.3.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 23.12.1 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/23.12.1...26.1.0) - https://github.com/asottile/reorder_python_imports → https://github.com/asottile/reorder-python-imports - [github.com/asottile/reorder-python-imports: v3.12.0 → v3.16.0](https://github.com/asottile/reorder-python-imports/compare/v3.12.0...v3.16.0) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.19.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.19.1) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v6.0.0) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 831d877..bad7c34 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,26 +7,26 @@ repos: language: script stages: [commit-msg] - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.3.0 hooks: - id: flake8 - - repo: https://github.com/psf/black - rev: 23.12.1 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black language_version: python3.11 - - repo: https://github.com/asottile/reorder_python_imports - rev: v3.12.0 + - repo: https://github.com/asottile/reorder-python-imports + rev: v3.16.0 hooks: - id: reorder-python-imports args: [--py3-plus] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.19.1 hooks: - id: mypy additional_dependencies: [] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: check-merge-conflict - id: debug-statements From 9e35b1055e69c97660a14fa78cc4cfe1aab959bc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 16:56:19 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- game/__init__.py | 1 - scripts/check_version.py | 1 - 2 files changed, 2 deletions(-) diff --git a/game/__init__.py b/game/__init__.py index 57b9bdc..144fc3a 100644 --- a/game/__init__.py +++ b/game/__init__.py @@ -19,7 +19,6 @@ from typing import Final - SCREEN_WIDTH: Final = 800 SCREEN_HEIGHT: Final = 400 BACK_COLOR = (153, 204, 255) diff --git a/scripts/check_version.py b/scripts/check_version.py index b2a7c7c..84368c5 100644 --- a/scripts/check_version.py +++ b/scripts/check_version.py @@ -3,7 +3,6 @@ from packaging import version - cat_cmd = subprocess.Popen(("cat", "game/__init__.py"), stdout=subprocess.PIPE) output = subprocess.check_output(("grep", "__version__"), stdin=cat_cmd.stdout).decode("utf-8").strip() cat_cmd.wait()