⬆ bump ruff from 0.15.17 to 0.16.0 (#89)

* ⬆ bump ruff from 0.15.17 to 0.16.0

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.17 to 0.16.0.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.15.17...0.16.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.16.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: ruff warnings

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: d3vyce <nicolas.sudres@proton.me>
This commit is contained in:
dependabot[bot]
2026-07-29 10:50:48 +02:00
committed by GitHub
co-authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> d3vyce
parent 4365dd02e8
commit 6b1b745d5f
7 changed files with 40 additions and 37 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import pytest
import fakeredis.aioredis
import pytest
from redis.asyncio import Redis
from taskiq import TaskiqMessage, TaskiqResult
+5 -3
View File
@@ -636,9 +636,11 @@ class TestStartupRetry:
failed1.ping.side_effect = ConnectionError("fail")
failed2.ping.side_effect = ConnectionError("fail")
with patch("redis.asyncio.Redis.from_url", side_effect=[failed1, failed2]):
with pytest.raises(ConnectionError):
await mw.startup()
with (
patch("redis.asyncio.Redis.from_url", side_effect=[failed1, failed2]),
pytest.raises(ConnectionError),
):
await mw.startup()
failed1.aclose.assert_called_once()
failed2.aclose.assert_called_once()