From 1072a877ea012d3d147b10ca31f6b6bce350dfb1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 21:48:45 +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.8.4 → v0.9.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.4...v0.9.2) --- .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 56e5d1a8..0ae4c8dd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--line-length=120, --target-version=py310] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.4 + rev: v0.9.2 hooks: - id: ruff args: [--fix] From 493f84cfa6726313f9a3759d7850c11f3476eb91 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 21:48:59 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- steam/ext/csgo/protobufs/cstrike.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/steam/ext/csgo/protobufs/cstrike.py b/steam/ext/csgo/protobufs/cstrike.py index 2523f914..d89f810f 100644 --- a/steam/ext/csgo/protobufs/cstrike.py +++ b/steam/ext/csgo/protobufs/cstrike.py @@ -814,8 +814,8 @@ class PreviewDataBlock(betterproto.Message): quality: int = betterproto.uint32_field(6) paintwear: int = betterproto.uint32_field(7) paintseed: int = betterproto.uint32_field(8) - killeaterscoretype: Union[int, None] = betterproto.uint32_field(9, optional=True, group="_killeaterscoretype") - killeatervalue: Union[int, None] = betterproto.uint32_field(10, optional=True, group="_killeatervalue") + killeaterscoretype: int | None = betterproto.uint32_field(9, optional=True, group="_killeaterscoretype") + killeatervalue: int | None = betterproto.uint32_field(10, optional=True, group="_killeatervalue") customname: str = betterproto.string_field(11) stickers: "list[PreviewDataBlockSticker]" = betterproto.message_field(12) inventory: int = betterproto.uint32_field(13)