diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c81f4981..56e5d1a8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,18 +3,18 @@ ci: repos: - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: 1.18.0 + rev: 1.19.1 hooks: - id: blacken-docs args: [--line-length=120, --target-version=py310] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.1 + rev: v0.8.4 hooks: - id: ruff args: [--fix] diff --git a/steam/ext/csgo/backpack.py b/steam/ext/csgo/backpack.py index 352fb4af..c89117d6 100644 --- a/steam/ext/csgo/backpack.py +++ b/steam/ext/csgo/backpack.py @@ -56,7 +56,7 @@ class Sticker: """The sticker's scale.""" tint_id: float | None = None """The sticker's tint_id.""" - + offset_x: float = 0.0 """The x offset of the sticker. @@ -68,6 +68,7 @@ class Sticker: .. versionadded:: 1.1.0 """ + @dataclass(slots=True) class Paint: """Represents the pain on an item."""