File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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 :
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"]
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments