Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#585)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 24.8.0 → 24.10.0](psf/black@24.8.0...24.10.0)
- [github.com/asottile/blacken-docs: 1.18.0 → 1.19.1](adamchainz/blacken-docs@1.18.0...1.19.1)
- [github.com/astral-sh/ruff-pre-commit: v0.6.1 → v0.8.4](astral-sh/ruff-pre-commit@v0.6.1...v0.8.4)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Dec 28, 2024
1 parent e5a74ff commit 20e50ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
3 changes: 2 additions & 1 deletion steam/ext/csgo/backpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -68,6 +68,7 @@ class Sticker:
.. versionadded:: 1.1.0
"""


@dataclass(slots=True)
class Paint:
"""Represents the pain on an item."""
Expand Down

0 comments on commit 20e50ba

Please sign in to comment.