Skip to content

Commit 42c4331

Browse files
committed
Update pre-commit
1 parent 2e24ccc commit 42c4331

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: fix-byte-order-marker
1818
- id: detect-private-key
1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: v0.5.1
20+
rev: v0.5.3
2121
hooks:
2222
- id: ruff
2323
args: [--fix, --exit-non-zero-on-fix]

tcod/ecs/query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def __as_queries(
366366
yield from (_QueryTraversalPropagation(_QueryTag(tag), traverse, depth) for tag in tags)
367367
yield from (_QueryTraversalPropagation(_QueryRelation(relations), traverse, depth) for relations in relations)
368368

369-
def all_of( # noqa: PLR0913
369+
def all_of(
370370
self,
371371
components: Iterable[ComponentKey[object]] = (),
372372
*,
@@ -383,7 +383,7 @@ def all_of( # noqa: PLR0913
383383
& self._query,
384384
)
385385

386-
def none_of( # noqa: PLR0913
386+
def none_of(
387387
self,
388388
components: Iterable[ComponentKey[object]] = (),
389389
*,

0 commit comments

Comments
 (0)