Skip to content

Commit 39f539f

Browse files
committed
Fix PR #2083
1 parent 3bce663 commit 39f539f

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

poetry.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ trio = ">=0.28,<0.30"
6262
attrs = ">=24.2,<26.0"
6363
httpx = "^0.28"
6464

65-
wemake-python-styleguide = "^1.0"
65+
wemake-python-styleguide = "^1.1"
6666
codespell = "^2.2"
6767
slotscheck = "^0.19"
6868
ruff = "^0.11"

returns/future.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,8 @@ def __aiter__(self) -> AsyncIterator[_ValueType_co]: # noqa: WPS611
11701170
"""API for :ref:`do-notation`."""
11711171

11721172
async def factory() -> AsyncGenerator[_ValueType_co, None]:
1173-
for inner_value in await self._inner_value:
1173+
inner_values = await self._inner_value
1174+
for inner_value in inner_values:
11741175
yield inner_value # will only yield once
11751176

11761177
return factory()

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ per-file-ignores =
6464
# Allow class attributes literals for slots and setattr:
6565
returns/primitives/container.py: WPS226
6666
# There are multiple assert's in tests:
67-
tests/*.py: S101, WPS204, WPS218, WPS226, WPS432, WPS436
67+
tests/*.py: S101, WPS204, WPS218, WPS226, WPS432, WPS436, WPS476
6868
# Some examples don't have any docs on purpose:
6969
tests/test_examples/*: D102
7070
# Pattern matching, flake8 and friends are not ready to deal with it

0 commit comments

Comments
 (0)