* Narrow the scope of the ``unnecessary-ellipsis`` checker to functions & classes which contain both a docstring and an ellipsis.
* Emit the warning when the body contains an ellipsis expression and at least one
other item.
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
When an ellipsis is used in a lambda expression.
Closes#6036
Co-authored-by: Mark Byrne <mark.byrne@rabobank.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
When an ellipsis is used inside of a list or inside a container
Closes#6037
Co-authored-by: Mark Byrne <mark.byrne@rabobank.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>