Skip to content

Commit c9ee6ed

Browse files
[pre-commit.ci] pre-commit autoupdate (TheAlgorithms#8853)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.0.275 → v0.0.276](astral-sh/ruff-pre-commit@v0.0.275...v0.0.276) * Update double_ended_queue.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update double_ended_queue.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <[email protected]>
1 parent 929d3d9 commit c9ee6ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
- id: auto-walrus
1717

1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.0.275
19+
rev: v0.0.276
2020
hooks:
2121
- id: ruff
2222

data_structures/queue/double_ended_queue.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class _Iterator:
5454
the current node of the iteration.
5555
"""
5656

57-
__slots__ = "_cur"
57+
__slots__ = ("_cur",)
5858

5959
def __init__(self, cur: Deque._Node | None) -> None:
6060
self._cur = cur

0 commit comments

Comments
 (0)