Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ trio = ">=0.28,<0.30"
attrs = ">=24.2,<26.0"
httpx = "^0.28"

wemake-python-styleguide = "^1.0"
wemake-python-styleguide = "^1.1"
codespell = "^2.2"
slotscheck = "^0.19"
ruff = "^0.11"
Expand Down
3 changes: 2 additions & 1 deletion returns/future.py
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,8 @@ def __aiter__(self) -> AsyncIterator[_ValueType_co]: # noqa: WPS611
"""API for :ref:`do-notation`."""

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

return factory()
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ per-file-ignores =
# Allow class attributes literals for slots and setattr:
returns/primitives/container.py: WPS226
# There are multiple assert's in tests:
tests/*.py: S101, WPS204, WPS218, WPS226, WPS432, WPS436
tests/*.py: S101, WPS204, WPS218, WPS226, WPS432, WPS436, WPS476
# Some examples don't have any docs on purpose:
tests/test_examples/*: D102
# Pattern matching, flake8 and friends are not ready to deal with it
Expand Down