Skip to content

Fix all flake8 DOC405 issues#952

Merged
ajax146 merged 1 commit intomainfrom
flake8-DOC405
Apr 17, 2024
Merged

Fix all flake8 DOC405 issues#952
ajax146 merged 1 commit intomainfrom
flake8-DOC405

Conversation

@ajax146
Copy link
Contributor

@ajax146 ajax146 commented Apr 17, 2024

DOC405: Method has both "return" and "yield" statements. Please use Generator[YieldType, SendType, ReturnType] as the return type annotation, and put your yield type in YieldType and return type in ReturnType. More details in https://jsh9.github.io/pydoclint/notes_generator_vs_iterator.html

1 issue
./techsupport_bot/tests/helpers/channel.py:19:1: DOC405 Method MockChannel.history has both "return" and "yield" statements. Please use Generator[YieldType, SendType, ReturnType] as the return type annotation, and put your yield type in YieldType and return type in ReturnType. More details in https://jsh9.github.io/pydoclint/notes_generator_vs_iterator.html

@ajax146 ajax146 merged commit 65dee77 into main Apr 17, 2024
@ajax146 ajax146 deleted the flake8-DOC405 branch May 7, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant