From d69f90402336b4d607db1081121704268c4e8edf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 00:53:24 +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/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.6...v0.8.6) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d86ddee..977684e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: autoupdate_schedule: quarterly repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -17,7 +17,7 @@ repos: - id: fix-byte-order-marker - id: detect-private-key - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.6 + rev: v0.8.6 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From fb42988f1daa4a1980708de28627189f9c69d46e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 00:53:36 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tcod/ecs/entity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcod/ecs/entity.py b/tcod/ecs/entity.py index 75ba3c4..9630c2c 100644 --- a/tcod/ecs/entity.py +++ b/tcod/ecs/entity.py @@ -66,7 +66,7 @@ class Entity: >>> other_entity = registry["other"] """ # Changes here should be reflected in conftest.py - __slots__ = ("registry", "uid", "__weakref__") + __slots__ = ("__weakref__", "registry", "uid") registry: Final[Registry] # type:ignore[misc] # https://github.com/python/mypy/issues/5774 """The :any:`Registry` this entity belongs to."""