Skip to content

Commit 15d5bad

Browse files
chore: autoupdate pre-commit config (#28)
1 parent 1e21477 commit 15d5bad

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
- id: check-toml
1616
- id: check-ast
1717
- repo: https://github.com/astral-sh/ruff-pre-commit
18-
rev: v0.15.15
18+
rev: v0.16.1
1919
hooks:
2020
- id: ruff-check
2121
- id: ruff-format
@@ -24,7 +24,7 @@ repos:
2424
hooks:
2525
- id: sphinx-lint
2626
- repo: https://github.com/codespell-project/codespell
27-
rev: v2.4.2
27+
rev: v2.4.3
2828
hooks:
2929
- id: codespell
3030
additional_dependencies:
@@ -34,7 +34,7 @@ repos:
3434
hooks:
3535
- id: reuse-lint-file
3636
- repo: https://github.com/astral-sh/uv-pre-commit
37-
rev: 0.11.17
37+
rev: 0.12.1
3838
hooks:
3939
- id: uv-lock
4040
args: ["--locked"]

src/culsans/_queues/_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ class LifoQueue(Queue[_T]):
11311131
first (:abbr:`LIFO (last-in, first-out)`).
11321132
"""
11331133

1134-
__slots__ = ("__data",) # noqa: PLW0244
1134+
__slots__ = ("__data",) # ruff: ignore[redefined-slots-in-subclass]
11351135

11361136
__data: list[_T]
11371137

@@ -1174,7 +1174,7 @@ class PriorityQueue(Queue[_RichComparableT]):
11741174
(lowest first).
11751175
"""
11761176

1177-
__slots__ = ("__data",) # noqa: PLW0244
1177+
__slots__ = ("__data",) # ruff: ignore[redefined-slots-in-subclass]
11781178

11791179
__data: list[_RichComparableT]
11801180

tests/culsans/test_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ def test_getters(self):
3333
assert queue.async_q.maxsize == 0
3434

3535
with pytest.raises(AttributeError):
36-
queue.nonexistent_attribute # noqa: B018
36+
queue.nonexistent_attribute # ruff: ignore[useless-expression]
3737
with pytest.raises(AttributeError):
38-
queue.sync_q.nonexistent_attribute # noqa: B018
38+
queue.sync_q.nonexistent_attribute # ruff: ignore[useless-expression]
3939
with pytest.raises(AttributeError):
40-
queue.async_q.nonexistent_attribute # noqa: B018
40+
queue.async_q.nonexistent_attribute # ruff: ignore[useless-expression]
4141

4242
def test_setters(self):
4343
queue = self.factory()

0 commit comments

Comments
 (0)