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] 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)