Skip to content

Commit

Permalink
Allow multiple extra generator methods in `YIELD_MAGIC_METHODS_BLACKL…
Browse files Browse the repository at this point in the history
…IST` (#2363)
  • Loading branch information
sobolevn committed Feb 27, 2022
1 parent ad451ff commit 2377314
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wemake_python_styleguide/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@
# Allowed to be used with ``yield`` keyword:
'__call__',
'__iter__',
'__anext__',
'__aiter__',
'__next__',
})

#: List of magic methods that are not allowed to be async.
Expand Down

0 comments on commit 2377314

Please sign in to comment.